summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@intel.com>2017-12-09 08:19:07 +0000
committerCraig Topper <craig.topper@intel.com>2017-12-09 08:19:07 +0000
commit6504a8f8880f50e6f2e83df6053bd351e92bc794 (patch)
tree6b4ed2a54591354eec67c5763f9734137a6de4aa /clang/lib/Frontend/CompilerInvocation.cpp
parentba23343a45c7c381ac2beec443df18274728dfb1 (diff)
downloadbcm5719-llvm-6504a8f8880f50e6f2e83df6053bd351e92bc794.tar.gz
bcm5719-llvm-6504a8f8880f50e6f2e83df6053bd351e92bc794.zip
[X86] When inserting into the upper bits of a vXi1 vector, make sure we shift enough bits if we widened the vector.
We may need to widen the vector to make the shifts legal, but if we do that we need to make sure we shift left/right after accounting for the new size. If not we can't guarantee we are shifting in zeros. The test cases affected actually show cases where we should move the shifts all together, but that's another problem. llvm-svn: 320248
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud