[llvm-commits] CVS: llvm/lib/Target/X86/X86InstrInfo.cpp

Chris Lattner sabre at nondot.org
Mon Oct 30 14:27:43 PST 2006



Changes in directory llvm/lib/Target/X86:

X86InstrInfo.cpp updated: 1.70 -> 1.71
---
Log message:

fix wonky indentation


---
Diffs of the changes:  (+6 -6)

 X86InstrInfo.cpp |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)


Index: llvm/lib/Target/X86/X86InstrInfo.cpp
diff -u llvm/lib/Target/X86/X86InstrInfo.cpp:1.70 llvm/lib/Target/X86/X86InstrInfo.cpp:1.71
--- llvm/lib/Target/X86/X86InstrInfo.cpp:1.70	Sat Oct 28 12:29:57 2006
+++ llvm/lib/Target/X86/X86InstrInfo.cpp	Mon Oct 30 16:27:23 2006
@@ -359,14 +359,14 @@
       isTerminatorInstr((--I)->getOpcode()))
     return true;
 
-  // If the block ends with X86::JMP and a COND_BRANCH, handle it.
+  // If the block ends with X86::JMP and a conditional branch, handle it.
   X86::CondCode BranchCode = GetCondFromBranchOpc(SecondLastInst->getOpcode());
   if (BranchCode != X86::COND_INVALID && LastInst->getOpcode() == X86::JMP) {
-      TBB =  SecondLastInst->getOperand(0).getMachineBasicBlock();
-      Cond.push_back(MachineOperand::CreateImm(BranchCode));
-      FBB = LastInst->getOperand(0).getMachineBasicBlock();
-      return false;
-    }
+    TBB = SecondLastInst->getOperand(0).getMachineBasicBlock();
+    Cond.push_back(MachineOperand::CreateImm(BranchCode));
+    FBB = LastInst->getOperand(0).getMachineBasicBlock();
+    return false;
+  }
 
   // Otherwise, can't handle this.
   return true;






More information about the llvm-commits mailing list