Fix a reassociate crash on sozefx when compiling with dragonegg+gcc-4.7 due to
authorDuncan Sands <baldrick@free.fr>
Fri, 29 Jun 2012 13:25:06 +0000 (13:25 +0000)
committerDuncan Sands <baldrick@free.fr>
Fri, 29 Jun 2012 13:25:06 +0000 (13:25 +0000)
commit96d2eff5c6713a2c5fd2cd61545e49637c332975
tree2f167f6caf1cde3d398501db39d6a49dc98a83f4
parent06cb8ed00696eb14d1b831921452e50ec0568ea2
Fix a reassociate crash on sozefx when compiling with dragonegg+gcc-4.7 due to
the optimizers producing a multiply expression with more multiplications than
the original (!).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159426 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/Reassociate.cpp
test/Transforms/Reassociate/crash.ll