projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f5e8c1
)
Reverse iterator - should be incrementing rather than decrementing.
author
Lang Hames
<lhames@gmail.com>
Fri, 17 Feb 2012 01:54:11 +0000
(
01:54
+0000)
committer
Lang Hames
<lhames@gmail.com>
Fri, 17 Feb 2012 01:54:11 +0000
(
01:54
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@150778
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/MachineInstr.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/MachineInstr.cpp
b/lib/CodeGen/MachineInstr.cpp
index 52a90960ec592ac87504305f2d10634741c91a4e..3ab98e1bf57d81a1109f15ccf90c457d60f6a60b 100644
(file)
--- a/
lib/CodeGen/MachineInstr.cpp
+++ b/
lib/CodeGen/MachineInstr.cpp
@@
-904,9
+904,9
@@
MachineInstr* MachineInstr::getBundleStart() {
if (!isInsideBundle())
return this;
MachineBasicBlock::reverse_instr_iterator MII(this);
-
--
MII;
+
++
MII;
while (MII->isInsideBundle())
-
--
MII;
+
++
MII;
return &*MII;
}