LSR ivchain bug fix: corner case with ConstantExpr.
authorAndrew Trick <atrick@apple.com>
Mon, 26 Mar 2012 20:28:37 +0000 (20:28 +0000)
committerAndrew Trick <atrick@apple.com>
Mon, 26 Mar 2012 20:28:37 +0000 (20:28 +0000)
commit05fecbe42e835b30274a7b38af27687a8abbd114
tree8ef687baa95e9b2e78812374aef7778d17eb2850
parentd4e46a6316c8e1dc4623ead64b4cdd3dfb103180
LSR ivchain bug fix: corner case with ConstantExpr.

Fixes PR11950.

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