PR4340: Run SimplifyDemandedVectorElts on insertelement instructions;
authorEli Friedman <eli.friedman@gmail.com>
Sat, 6 Jun 2009 20:08:03 +0000 (20:08 +0000)
committerEli Friedman <eli.friedman@gmail.com>
Sat, 6 Jun 2009 20:08:03 +0000 (20:08 +0000)
commitb9a4cacc91c1a9b5b341dc937db441eba1e43166
treed4f2138f033ef71f5196bcc2c9e23f0eb8131d2f
parent9d813df391a5fa3f77ff7b241c48de1926d23f0c
PR4340: Run SimplifyDemandedVectorElts on insertelement instructions;
sometimes it can find simplifications that won't be found otherwise.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73006 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/InstructionCombining.cpp
test/Transforms/InstCombine/vec_demanded_elts-3.ll [new file with mode: 0644]