Skip to content
Commit 3c9dc6bd authored by Evan Cheng's avatar Evan Cheng
Browse files

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
parent 9f4cdd5d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment