commit | 07b0498e27dc735187cd0121aaad03f8f3ca0f64 | [log] [tgz] |
---|---|---|
author | Craig Topper <craig.topper@intel.com> | Tue Dec 05 06:37:21 2017 +0000 |
committer | Craig Topper <craig.topper@intel.com> | Tue Dec 05 06:37:21 2017 +0000 |
tree | 3e1e5e323efd0da24bf17c3a079e201ab7a10827 | |
parent | 02ef0610a9e49588083902ca9daf4aa4dfd3fa89 [diff] |
[X86] Use vector widening to support sign 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@319740 91177308-0d34-0410-b5e6-96231b3b80d8