mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-05 17:39:16 +00:00
[C++11,ARM64] Range based for loops in pseudo expansion.
No functional change intended. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@205441 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
4d59fd9cf0
commit
7e2d11d345
@ -726,9 +726,8 @@ bool ARM64ExpandPseudo::runOnMachineFunction(MachineFunction &MF) {
|
||||
TII = static_cast<const ARM64InstrInfo *>(MF.getTarget().getInstrInfo());
|
||||
|
||||
bool Modified = false;
|
||||
for (MachineFunction::iterator MFI = MF.begin(), E = MF.end(); MFI != E;
|
||||
++MFI)
|
||||
Modified |= expandMBB(*MFI);
|
||||
for (auto &MBB : MF)
|
||||
Modified |= expandMBB(MBB);
|
||||
return Modified;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user