OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d59fd9
)
[C++11,ARM64] Range based for loops in pseudo expansion.
author
Jim Grosbach
<grosbach@apple.com>
Wed, 2 Apr 2014 18:00:46 +0000
(18:00 +0000)
committer
Jim Grosbach
<grosbach@apple.com>
Wed, 2 Apr 2014 18:00:46 +0000
(18:00 +0000)
No functional change intended.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@205441
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/ARM64/ARM64ExpandPseudoInsts.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/ARM64/ARM64ExpandPseudoInsts.cpp
b/lib/Target/ARM64/ARM64ExpandPseudoInsts.cpp
index
68608bc
..
e082baf
100644
(file)
--- a/
lib/Target/ARM64/ARM64ExpandPseudoInsts.cpp
+++ b/
lib/Target/ARM64/ARM64ExpandPseudoInsts.cpp
@@
-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;
}