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

Chris Lattner sabre at nondot.org
Fri Oct 20 22:42:25 PDT 2006



Changes in directory llvm/lib/Target/X86:

X86InstrInfo.cpp updated: 1.67 -> 1.68
---
Log message:

Simplify code, no functionality change


---
Diffs of the changes:  (+2 -4)

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


Index: llvm/lib/Target/X86/X86InstrInfo.cpp
diff -u llvm/lib/Target/X86/X86InstrInfo.cpp:1.67 llvm/lib/Target/X86/X86InstrInfo.cpp:1.68
--- llvm/lib/Target/X86/X86InstrInfo.cpp:1.67	Sat Oct 21 00:34:23 2006
+++ llvm/lib/Target/X86/X86InstrInfo.cpp	Sat Oct 21 00:42:09 2006
@@ -389,12 +389,10 @@
     return;
   }
   
-  // Conditional branch.
+  // Two-way Conditional branch.
   unsigned Opc = GetCondBranchFromCond((X86::CondCode)Cond[0].getImm());
   BuildMI(&MBB, Opc, 1).addMBB(TBB);
-  
-  if (FBB)  // Two-way branch.
-    BuildMI(&MBB, X86::JMP, 1).addMBB(FBB);
+  BuildMI(&MBB, X86::JMP, 1).addMBB(FBB);
 }
 
 bool X86InstrInfo::






More information about the llvm-commits mailing list