HomePhabricator

[X86] Add DAG combine to promote vXi1 result of a vXi8/vXi16 setcc when we have…

Authored by craig.topper on Jan 12 2018, 10:24 PM.

Description

[X86] Add DAG combine to promote vXi1 result of a vXi8/vXi16 setcc when we have AVX512 but not BWI.

This avoids having the result type stick around until lowering where we have to extend the setcc and insert a truncate. If we get the types converted early we can do more to optimize it.

llvm-svn: 322432

Details

Committed
craig.topperJan 12 2018, 10:24 PM
Parents
rG56ae0a67e820: DR126: partially implement the const-correct rules for exception handler…
Branches
Unknown
Tags
Unknown