aboutsummaryrefslogtreecommitdiffstats
path: root/lib/VMCore/ConstantFold.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-02-01 18:04:58 +0000
committerChris Lattner <sabre@nondot.org>2010-02-01 18:04:58 +0000
commit538f88dfba9a0c96a0b9250d84b2705e7777e6be (patch)
tree62e96b0c20202fd59c3bb5a5bfa4afb5ee2f3a28 /lib/VMCore/ConstantFold.cpp
parent05d62e9e8c1be6d758781323009ba94476060970 (diff)
downloadexternal_llvm-538f88dfba9a0c96a0b9250d84b2705e7777e6be.zip
external_llvm-538f88dfba9a0c96a0b9250d84b2705e7777e6be.tar.gz
external_llvm-538f88dfba9a0c96a0b9250d84b2705e7777e6be.tar.bz2
fix rdar://7590304, an infinite loop in instcombine. In the invoke
case, instcombine can't zap the invoke for fear of changing the CFG. However, we have to do something to prevent the next iteration of instcombine from inserting another store -> undef before the invoke thereby getting into infinite iteration between dead store elim and store insertion. Just zap the callee to null, which will prevent the next iteration from doing anything. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94985 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore/ConstantFold.cpp')
0 files changed, 0 insertions, 0 deletions