HomePhabricator

[X86][AVX512] Make i1 illegal in the CodeGen

Description

[X86][AVX512] Make i1 illegal in the CodeGen

This patch defines the i1 type as illegal in the X86 backend for AVX512.
For DAG operations on <N x i1> types (build vector, extract vector element, ...) i8 is used, and should be truncated/extended.
This should produce better scalar code for i1 types since GPRs will be used instead of mask registers.

Differential Revision: https://reviews.llvm.org/D32273

Details

Committed
guyblankMay 19 2017, 5:35 AM
Differential Revision
D32273: [X86][AVX512] Make i1 illegal in the CodeGen
Parents
rL303420: [ScopDetection] Allow detection of full functions
Branches
Unknown
Tags
Unknown