summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@intel.com>2017-12-28 19:46:11 +0000
committerCraig Topper <craig.topper@intel.com>2017-12-28 19:46:11 +0000
commit55cf8809002dd7ab04943ac66e19358e3fe07b4b (patch)
tree3aa67d171cf38ef6a74ec04c81a69c3836b0b4a9 /clang/lib/Frontend/CompilerInvocation.cpp
parentc0b6cb1e47fca851e4158729b1e4c81abd26028e (diff)
downloadbcm5719-llvm-55cf8809002dd7ab04943ac66e19358e3fe07b4b.tar.gz
bcm5719-llvm-55cf8809002dd7ab04943ac66e19358e3fe07b4b.zip
[X86] When lowering extending loads from v2i1/v4i1, if we have VLX, use a narrower extend.
Previously we used an extend from v8i1 to v8i32/v8i64. Then extracted to the final width. But if we have VLX we should extract first. This way we don't end up with an overly large extend. This allows us to use vcmpeq to make all ones for the sign extend when DQI isn't available. Otherwise we get a VPTERNLOG. If we make v2i1/v4i1 legal like proposed in D41560, we could always do this and rely on the lowering of the extend to widen when necessary. llvm-svn: 321538
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud