commit | 43aeab68a69e443c528092b4424a498d813f96b7 | [log] [tgz] |
---|---|---|
author | Evan Cheng <evan.cheng@apple.com> | Fri Jan 26 20:38:26 2007 +0000 |
committer | Evan Cheng <evan.cheng@apple.com> | Fri Jan 26 20:38:26 2007 +0000 |
tree | 62cd65ab5c3b6808a3ffa905c1315e25af12e5fb | |
parent | 38f682b8b2e4c78c193c505e5572abfcf9d3cb88 [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