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:
a1db5de
)
Fix a typo in MachineInstr::unbundleFromSucc() method.
author
Sergei Larin
<slarin@codeaurora.org>
Wed, 9 Jan 2013 17:54:33 +0000
(17:54 +0000)
committer
Sergei Larin
<slarin@codeaurora.org>
Wed, 9 Jan 2013 17:54:33 +0000
(17:54 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171983
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 29d8866b8d623158a9e45c23cb48b7fbef4247ab..a4d9813e507e771068c39cbbe185fc4930a109ab 100644
(file)
--- a/
lib/CodeGen/MachineInstr.cpp
+++ b/
lib/CodeGen/MachineInstr.cpp
@@
-897,7
+897,7
@@
void MachineInstr::unbundleFromSucc() {
assert(isBundledWithSucc() && "MI isn't bundled with its successor");
clearFlag(BundledSucc);
MachineBasicBlock::instr_iterator Succ = this;
-
--
Succ;
+
++
Succ;
assert(Succ->isBundledWithPred() && "Inconsistent bundle flags");
Succ->clearFlag(BundledPred);
}