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();
|
||||
|
||||
bool Modified = false;
|
||||
for (MachineFunction::iterator MFI = Fn.begin(), E = Fn.end(); MFI != E;
|
||||
++MFI) {
|
||||
MachineBasicBlock &MBB = *MFI;
|
||||
for (MachineBasicBlock &MBB : Fn)
|
||||
Modified |= ExpandFPMLxInstructions(MBB);
|
||||
}
|
||||
|
||||
return Modified;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user