summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/ScalarEvolution.cpp
diff options
context:
space:
mode:
authorJohn McCall <rjmccall@apple.com>2011-08-06 06:53:52 +0000
committerJohn McCall <rjmccall@apple.com>2011-08-06 06:53:52 +0000
commitf82bdf6dd1397604d209e7d4bc17896a686573ec (patch)
tree312b749c5c85e5a8377f1c746c0b475e6f2ff13b /llvm/lib/Analysis/ScalarEvolution.cpp
parentf7bb3e5bd0f1fef67f786e1c23114aa3fc1068f8 (diff)
downloadbcm5719-llvm-f82bdf6dd1397604d209e7d4bc17896a686573ec.tar.gz
bcm5719-llvm-f82bdf6dd1397604d209e7d4bc17896a686573ec.zip
Be sure to destroy the normal entry block of a cleanup that we
aren't actually going to make a normal cleanup for. Sometimes we optimistically create branches to such blocks for fixups, and then we resolve the fixup to somewhere within the cleanup's scope, and then the cleanup is actually not reachable for some reason. The process of resolving the fixup leaves us with switches whose default edge leads to the cleanup; we can replace that with unreachable, then (in many cases) turn the switch into an unconditional branch. Fixes PR10467. llvm-svn: 137011
Diffstat (limited to 'llvm/lib/Analysis/ScalarEvolution.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud