Swizzle vector inputs if it helps us eliminate shuffles.
authorNick Lewycky <nicholas@mxc.ca>
Thu, 30 May 2013 04:33:38 +0000 (04:33 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Thu, 30 May 2013 04:33:38 +0000 (04:33 +0000)
commite97b102e2b597751c9e9edce74d3d69bba317dcd
treef46b279af3ba53b2d80dcb9a0ef0dc2ecd76f961
parent7486d92a6c949a193bb75c0ffa0170eeb2fabb80
Swizzle vector inputs if it helps us eliminate shuffles.

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