Prefer shuffles to selects. Backends love shuffles!
authorNick Lewycky <nicholas@mxc.ca>
Thu, 27 Sep 2012 08:33:56 +0000 (08:33 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Thu, 27 Sep 2012 08:33:56 +0000 (08:33 +0000)
commit466e0f38d344fd1a64b7be2b3c4e3f7003ef4fef
tree2442b2b9658c29e72b1dd7abae926751854c68dc
parent37d3ef3140f542f320b3c46a3dfc366cfa479754
Prefer shuffles to selects. Backends love shuffles!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164763 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/InstCombine/InstCombineSelect.cpp
test/Transforms/InstCombine/vec_demanded_elts.ll
test/Transforms/InstCombine/vec_shuffle.ll