summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.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
commit2cecedf0819233a3013d1e6ce3d81f5ced0448b8 (patch)
tree770612b5e6dcc7ec31d48c7d6fac54f42c9d9278 /clang/lib/CodeGen/CodeGenModule.cpp
parentf65ba356e12514ff868154b6c29443394258db01 (diff)
downloadbcm5719-llvm-2cecedf0819233a3013d1e6ce3d81f5ced0448b8.tar.gz
bcm5719-llvm-2cecedf0819233a3013d1e6ce3d81f5ced0448b8.zip
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. llvm-svn: 94985
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud