[llvm-commits] [llvm] r171983 - /llvm/trunk/lib/CodeGen/MachineInstr.cpp

Sergei Larin slarin at codeaurora.org
Wed Jan 9 09:54:33 PST 2013


Author: slarin
Date: Wed Jan  9 11:54:33 2013
New Revision: 171983

URL: http://llvm.org/viewvc/llvm-project?rev=171983&view=rev
Log:

Fix a typo in MachineInstr::unbundleFromSucc() method.


Modified:
    llvm/trunk/lib/CodeGen/MachineInstr.cpp

Modified: llvm/trunk/lib/CodeGen/MachineInstr.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/MachineInstr.cpp?rev=171983&r1=171982&r2=171983&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/MachineInstr.cpp (original)
+++ llvm/trunk/lib/CodeGen/MachineInstr.cpp Wed Jan  9 11:54:33 2013
@@ -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);
 }





More information about the llvm-commits mailing list