mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-30 07:14:53 +00:00
Simplify code a bit.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15364 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
02a453074d
commit
6103c1703c
@ -67,7 +67,5 @@ X86InstrInfo::reverseBranchCondition(MachineBasicBlock::iterator MI) const {
|
||||
}
|
||||
MachineBasicBlock* MBB = MI->getParent();
|
||||
MachineBasicBlock* TMBB = MI->getOperand(0).getMachineBasicBlock();
|
||||
MachineInstrBuilder IB = BuildMI(*MBB, MBB->erase(MI), ROpcode, 1);
|
||||
IB.addMBB(TMBB);
|
||||
return IB;
|
||||
return BuildMI(*MBB, MBB->erase(MI), ROpcode, 1).addMBB(TMBB);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user