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 | 424641ef83fbb99640d3e2758148a9d3ea2b3830 (patch) | |
tree | 6c88b8efb55649e29eefa4d18efa6b31e0f01900 /lib/Target/ARM/ARMLoadStoreOptimizer.cpp | |
parent | fef50062eae28fc6d893cd3ef528f8ca85cd50b0 (diff) |
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
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@132022 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/ARMLoadStoreOptimizer.cpp')
0 files changed, 0 insertions, 0 deletions