mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-30 06:40:53 +00:00
Reduce indentation with early exit.
No functional change. llvm-svn: 166829
This commit is contained in:
parent
74618f417a
commit
3831f9f19f
@ -588,7 +588,9 @@ TwoAddressInstructionPass::convertInstTo3Addr(MachineBasicBlock::iterator &mi,
|
||||
MachineFunction::iterator MFI = MBB;
|
||||
MachineInstr *NewMI = TII->convertToThreeAddress(MFI, mi, LV);
|
||||
assert(MBB == MFI && "convertToThreeAddress changed iterator reference");
|
||||
if (NewMI) {
|
||||
if (!NewMI)
|
||||
return false;
|
||||
|
||||
DEBUG(dbgs() << "2addr: CONVERTING 2-ADDR: " << *mi);
|
||||
DEBUG(dbgs() << "2addr: TO 3-ADDR: " << *NewMI);
|
||||
bool Sunk = false;
|
||||
@ -614,9 +616,6 @@ TwoAddressInstructionPass::convertInstTo3Addr(MachineBasicBlock::iterator &mi,
|
||||
SrcRegMap.erase(RegA);
|
||||
DstRegMap.erase(RegB);
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
/// scanUses - Scan forward recursively for only uses, update maps if the use
|
||||
|
Loading…
Reference in New Issue
Block a user