diff options
| author | Evan Cheng <evan.cheng@apple.com> | 2011-05-24 23:12:57 +0000 |
|---|---|---|
| committer | Evan Cheng <evan.cheng@apple.com> | 2011-05-24 23:12:57 +0000 |
| commit | 1b55f56b0139068eb3f049216235fb00516d4358 (patch) | |
| tree | 0991cc0cd9b0b829cbe87af6d38cefeec964ac3f /clang/lib/CodeGen/CodeGenModule.cpp | |
| parent | 9b72eb71015045ace7ad1e43d5ce8185b3422d5c (diff) | |
| download | llvm-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
