Redo InstCombiner::visitExtractValueInst. Instead of using the (complicate)
authorMatthijs Kooijman <matthijs@stdin.nl>
Wed, 16 Jul 2008 12:55:45 +0000 (12:55 +0000)
committerMatthijs Kooijman <matthijs@stdin.nl>
Wed, 16 Jul 2008 12:55:45 +0000 (12:55 +0000)
commit780ae5e1793f1a6e626610b1d26a41ede53e2a1d
tree2a3191576fd20ebaa3cf5939deeae9259b169591
parent05c397d52a145c8844790d6491c4c51d4bbfed7c
Redo InstCombiner::visitExtractValueInst. Instead of using the (complicate)
FindInsertedValue, it now performs a number of simple transformations that
should result in the same effect when applied iteratively.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53673 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/InstructionCombining.cpp