[llvm-commits] Typo fix in lib/CodeGen/MachineInstr.cpp. Please review.
Sergei Larin
slarin at codeaurora.org
Tue Jan 8 12:07:09 PST 2013
Jakob,
There is a trivial typo in MachineInstr::unbundleFromSucc() method.
Please OK the fix:
Index: lib/CodeGen/MachineInstr.cpp
===================================================================
--- lib/CodeGen/MachineInstr.cpp (revision 171865)
+++ lib/CodeGen/MachineInstr.cpp (working copy)
@@ -897,7 +897,7 @@
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);
}
Thanks.
Sergei
---
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by
The Linux Foundation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: machine_instr.patch
Type: application/octet-stream
Size: 500 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130108/ce237831/attachment.obj>
More information about the llvm-commits
mailing list