commit | eb94f55b0d0495d97b80889564ba787981417999 | [log] [tgz] |
---|---|---|
author | Craig Topper <craig.topper@intel.com> | Tue Dec 05 01:45:46 2017 +0000 |
committer | Craig Topper <craig.topper@intel.com> | Tue Dec 05 01:45:46 2017 +0000 |
tree | 0659af3fa9295e09a2d562dffa05bec8f0703eb4 | |
parent | 93de9f6cdd58a2666075a3badf09c47133f3ce24 [diff] |
[X86] Use vector widening to support zero extend from i1 when the dest type is not 512-bits and vlx is not enabled. Previously we used a wider element type and truncated. But its more efficient to keep the element type and drop unused elements. If BWI isn't supported and we have a i16 or i8 type, we'll extend it to be i32 and still use a truncate. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@319728 91177308-0d34-0410-b5e6-96231b3b80d8