diff options
author | Evan Cheng <evan.cheng@apple.com> | 2007-01-26 20:38:26 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2007-01-26 20:38:26 +0000 |
commit | 3c9dc6bd46003dc8ec82a3f698271199e9f259f3 (patch) | |
tree | 318eaad76b87b31e0b42dce46d7677617cb29879 /llvm/lib/CodeGen/MachineModuleInfo.cpp | |
parent | 9f4cdd5d182c3e9491e0c0bbcd8e8feb7c8be7da (diff) | |
download | llvm-3c9dc6bd46003dc8ec82a3f698271199e9f259f3.zip llvm-3c9dc6bd46003dc8ec82a3f698271199e9f259f3.tar.gz llvm-3c9dc6bd46003dc8ec82a3f698271199e9f259f3.tar.bz2 |
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
llvm-svn: 33548
Diffstat (limited to 'llvm/lib/CodeGen/MachineModuleInfo.cpp')
0 files changed, 0 insertions, 0 deletions