mirror of
https://github.com/RPCSX/llvm.git
synced 2025-01-06 12:04:52 +00:00
MSP430: Remove implicit ilist iterator conversions, NFC
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@250792 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
090db0267d
commit
3698b0ef55
@ -64,7 +64,7 @@ bool MSP430BSel::runOnMachineFunction(MachineFunction &Fn) {
|
|||||||
unsigned FuncSize = 0;
|
unsigned FuncSize = 0;
|
||||||
for (MachineFunction::iterator MFI = Fn.begin(), E = Fn.end(); MFI != E;
|
for (MachineFunction::iterator MFI = Fn.begin(), E = Fn.end(); MFI != E;
|
||||||
++MFI) {
|
++MFI) {
|
||||||
MachineBasicBlock *MBB = MFI;
|
MachineBasicBlock *MBB = &*MFI;
|
||||||
|
|
||||||
unsigned BlockSize = 0;
|
unsigned BlockSize = 0;
|
||||||
for (MachineBasicBlock::iterator MBBI = MBB->begin(), EE = MBB->end();
|
for (MachineBasicBlock::iterator MBBI = MBB->begin(), EE = MBB->end();
|
||||||
|
@ -1228,8 +1228,7 @@ MSP430TargetLowering::EmitShiftInstr(MachineInstr *MI,
|
|||||||
}
|
}
|
||||||
|
|
||||||
const BasicBlock *LLVM_BB = BB->getBasicBlock();
|
const BasicBlock *LLVM_BB = BB->getBasicBlock();
|
||||||
MachineFunction::iterator I = BB;
|
MachineFunction::iterator I = ++BB->getIterator();
|
||||||
++I;
|
|
||||||
|
|
||||||
// Create loop block
|
// Create loop block
|
||||||
MachineBasicBlock *LoopBB = F->CreateMachineBasicBlock(LLVM_BB);
|
MachineBasicBlock *LoopBB = F->CreateMachineBasicBlock(LLVM_BB);
|
||||||
@ -1317,8 +1316,7 @@ MSP430TargetLowering::EmitInstrWithCustomInserter(MachineInstr *MI,
|
|||||||
// to set, the condition code register to branch on, the true/false values to
|
// to set, the condition code register to branch on, the true/false values to
|
||||||
// select between, and a branch opcode to use.
|
// select between, and a branch opcode to use.
|
||||||
const BasicBlock *LLVM_BB = BB->getBasicBlock();
|
const BasicBlock *LLVM_BB = BB->getBasicBlock();
|
||||||
MachineFunction::iterator I = BB;
|
MachineFunction::iterator I = ++BB->getIterator();
|
||||||
++I;
|
|
||||||
|
|
||||||
// thisMBB:
|
// thisMBB:
|
||||||
// ...
|
// ...
|
||||||
|
Loading…
Reference in New Issue
Block a user