aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
diff options
context:
space:
mode:
authorQuentin Colombet <qcolombet@apple.com>2014-11-06 02:25:03 +0000
committerQuentin Colombet <qcolombet@apple.com>2014-11-06 02:25:03 +0000
commitdbe33e7aa41a0dfcdd826d2e4709f64975648729 (patch)
tree87ca36118ffc3e9076d9a1617097c310ab8be723 /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
parent2dfef4bfd6673e9f25b6b06a880797880b8b3b6c (diff)
downloadllvm-dbe33e7aa41a0dfcdd826d2e4709f64975648729.zip
llvm-dbe33e7aa41a0dfcdd826d2e4709f64975648729.tar.gz
llvm-dbe33e7aa41a0dfcdd826d2e4709f64975648729.tar.bz2
[X86] Lower VSELECT into SHRUNKBLEND when we shrink the bits used into the
condition to match a blend. This prevents optimizations that work on VSELECT to perform invalid transformations. Indeed, the optimized condition does not match the vector boolean content that is expected and bad things may happen. This patch yields the exact same code on the whole test-suite + specs (-O3 and -O3 -march=core-avx2), it improves one test case (vector-blend.ll) and fixes a bug reduced in vselect-avx.ll. <rdar://problem/18819506> llvm-svn: 221429
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions