Changes in directory llvm/lib/Target/PowerPC:
PPCInstrInfo.cpp updated: 1.26 -> 1.27 --- Log message: Simplify code, no functionality change --- Diffs of the changes: (+2 -4) PPCInstrInfo.cpp | 6 ++---- 1 files changed, 2 insertions(+), 4 deletions(-) Index: llvm/lib/Target/PowerPC/PPCInstrInfo.cpp diff -u llvm/lib/Target/PowerPC/PPCInstrInfo.cpp:1.26 llvm/lib/Target/PowerPC/PPCInstrInfo.cpp:1.27 --- llvm/lib/Target/PowerPC/PPCInstrInfo.cpp:1.26 Sat Oct 21 00:36:13 2006 +++ llvm/lib/Target/PowerPC/PPCInstrInfo.cpp Sat Oct 21 00:42:09 2006 @@ -253,12 +253,10 @@ return; } - // Conditional branch + // Two-way Conditional Branch. BuildMI(&MBB, PPC::COND_BRANCH, 3) .addReg(Cond[0].getReg()).addImm(Cond[1].getImm()).addMBB(TBB); - - if (FBB) // Two-way branch. - BuildMI(&MBB, PPC::B, 1).addMBB(FBB); + BuildMI(&MBB, PPC::B, 1).addMBB(FBB); } bool PPCInstrInfo:: _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits