mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-10 13:51:37 +00:00
Sparc: Remove implicit ilist iterator conversions, NFC
llvm-svn: 250781
This commit is contained in:
parent
86ab7394bc
commit
becbc54dca
@ -267,11 +267,11 @@ void SparcAsmPrinter::EmitInstruction(const MachineInstr *MI)
|
||||
LowerGETPCXAndEmitMCInsts(MI, getSubtargetInfo());
|
||||
return;
|
||||
}
|
||||
MachineBasicBlock::const_instr_iterator I = MI;
|
||||
MachineBasicBlock::const_instr_iterator I = MI->getIterator();
|
||||
MachineBasicBlock::const_instr_iterator E = MI->getParent()->instr_end();
|
||||
do {
|
||||
MCInst TmpInst;
|
||||
LowerSparcMachineInstrToMCInst(I, TmpInst, *this);
|
||||
LowerSparcMachineInstrToMCInst(&*I, TmpInst, *this);
|
||||
EmitToStreamer(*OutStreamer, TmpInst);
|
||||
} while ((++I != E) && I->isInsideBundle()); // Delay slot check.
|
||||
}
|
||||
|
@ -3053,8 +3053,7 @@ SparcTargetLowering::expandSelectCC(MachineInstr *MI,
|
||||
// to set, the condition code register to branch on, the true/false values to
|
||||
// select between, and a branch opcode to use.
|
||||
const BasicBlock *LLVM_BB = BB->getBasicBlock();
|
||||
MachineFunction::iterator It = BB;
|
||||
++It;
|
||||
MachineFunction::iterator It = ++BB->getIterator();
|
||||
|
||||
// thisMBB:
|
||||
// ...
|
||||
@ -3139,7 +3138,7 @@ SparcTargetLowering::expandAtomicRMW(MachineInstr *MI,
|
||||
.addReg(AddrReg).addImm(0);
|
||||
|
||||
// Split the basic block MBB before MI and insert the loop block in the hole.
|
||||
MachineFunction::iterator MFI = MBB;
|
||||
MachineFunction::iterator MFI = MBB->getIterator();
|
||||
const BasicBlock *LLVM_BB = MBB->getBasicBlock();
|
||||
MachineFunction *MF = MBB->getParent();
|
||||
MachineBasicBlock *LoopMBB = MF->CreateMachineBasicBlock(LLVM_BB);
|
||||
|
Loading…
Reference in New Issue
Block a user