aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2011-05-24 23:12:57 +0000
committerEvan Cheng <evan.cheng@apple.com>2011-05-24 23:12:57 +0000
commit1b55f56b0139068eb3f049216235fb00516d4358 (patch)
tree0991cc0cd9b0b829cbe87af6d38cefeec964ac3f /clang/lib/CodeGen/CodeGenModule.cpp
parent9b72eb71015045ace7ad1e43d5ce8185b3422d5c (diff)
downloadllvm-1b55f56b0139068eb3f049216235fb00516d4358.zip
llvm-1b55f56b0139068eb3f049216235fb00516d4358.tar.gz
llvm-1b55f56b0139068eb3f049216235fb00516d4358.tar.bz2
Fix LoopUnswitch bug. RewriteLoopBodyWithConditionConstant can delete a dead
case of a switch instruction. Back off this optimization when this would eliminate all of the predecessors to the latch. Sorry, I am unable to reduce a reasonably sized test case. rdar://9486843 llvm-svn: 132022
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions