forked from OSchip/llvm-project
[C++11,ARM64] Range based for loops in pseudo expansion.
No functional change intended. llvm-svn: 205441
This commit is contained in:
parent
673825ebac
commit
f39d752b03
|
@ -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…
Reference in New Issue