Fix the: test/Regression/Other/2002-03-20-LevelRaiseCrash.ll bug. It turned
authorChris Lattner <sabre@nondot.org>
Thu, 21 Mar 2002 06:22:23 +0000 (06:22 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 21 Mar 2002 06:22:23 +0000 (06:22 +0000)
commit45ef5c26d4c92dcf7a36fa764b22f6b2faed68bf
tree5e653dcbf9240039bb052c55266ffa2badd5be69
parent35191769a55c59d49c7a896c24194bed2cf5c205
Fix the: test/Regression/Other/2002-03-20-LevelRaiseCrash.ll bug.  It turned
out that almost always the result of the add was the same as the GEP that
would be generated.  In this case, however, it wasn't, so bad things happened.

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