mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
Range-ify a loop.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@203590 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
1332459dbb
commit
7532403f2c
@ -385,11 +385,8 @@ bool MLxExpansion::runOnMachineFunction(MachineFunction &Fn) {
|
|||||||
isSwift = STI->isSwift();
|
isSwift = STI->isSwift();
|
||||||
|
|
||||||
bool Modified = false;
|
bool Modified = false;
|
||||||
for (MachineFunction::iterator MFI = Fn.begin(), E = Fn.end(); MFI != E;
|
for (MachineBasicBlock &MBB : Fn)
|
||||||
++MFI) {
|
|
||||||
MachineBasicBlock &MBB = *MFI;
|
|
||||||
Modified |= ExpandFPMLxInstructions(MBB);
|
Modified |= ExpandFPMLxInstructions(MBB);
|
||||||
}
|
|
||||||
|
|
||||||
return Modified;
|
return Modified;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user