aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/PrologEpilogInserter.cpp
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2007-01-26 20:38:26 +0000
committerEvan Cheng <evan.cheng@apple.com>2007-01-26 20:38:26 +0000
commit43aeab68a69e443c528092b4424a498d813f96b7 (patch)
tree62cd65ab5c3b6808a3ffa905c1315e25af12e5fb /lib/CodeGen/PrologEpilogInserter.cpp
parent38f682b8b2e4c78c193c505e5572abfcf9d3cb88 (diff)
Conditional branch being fixed up is not the last MI in the BB, there is a
unconditional branch following it. Simply invert the condition and swap destinations if the conditional branch can reach the destination of the unconditional branch: beq L1 b L2 => bne L2 b L1 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33548 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/PrologEpilogInserter.cpp')
0 files changed, 0 insertions, 0 deletions