Make the test introduced in r239015 more targeted.
authorDavid Majnemer <david.majnemer@gmail.com>
Thu, 4 Jun 2015 07:21:42 +0000 (07:21 +0000)
committerDavid Majnemer <david.majnemer@gmail.com>
Thu, 4 Jun 2015 07:21:42 +0000 (07:21 +0000)
commit7464cac57223d9e63630a3e367142ad4cd2c38d4
treefc06c3a16d5cf2ab7b557918297911c48b374b6b
parent1bbb64b206da228535e667266dacb6b933a12b26
Make the test introduced in r239015 more targeted.

We don't need to go through LSR to trigger this bug.  Instead,
hand-craft a tricky GEP and get the constant folder to hack on it when
parsing the IR.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@239017 91177308-0d34-0410-b5e6-96231b3b80d8
test/Assembler/getelementptr.ll
test/Transforms/LoopStrengthReduce/pr23753.ll [deleted file]