[llvm-commits] [llvm] r121049 - /llvm/trunk/lib/Target/MBlaze/MBlazeISelLowering.cpp
Wesley Peck
peckw at wesleypeck.com
Mon Dec 6 14:19:28 PST 2010
Author: peckw
Date: Mon Dec 6 16:19:28 2010
New Revision: 121049
URL: http://llvm.org/viewvc/llvm-project?rev=121049&view=rev
Log:
Adding bug fix that was suppose to be part of 121044.
patch contributed by Jack Whitham!
Modified:
llvm/trunk/lib/Target/MBlaze/MBlazeISelLowering.cpp
Modified: llvm/trunk/lib/Target/MBlaze/MBlazeISelLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/MBlaze/MBlazeISelLowering.cpp?rev=121049&r1=121048&r2=121049&view=diff
==============================================================================
--- llvm/trunk/lib/Target/MBlaze/MBlazeISelLowering.cpp (original)
+++ llvm/trunk/lib/Target/MBlaze/MBlazeISelLowering.cpp Mon Dec 6 16:19:28 2010
@@ -333,12 +333,12 @@
unsigned Opc;
switch (MI->getOperand(4).getImm()) {
default: llvm_unreachable("Unknown branch condition");
- case MBlazeCC::EQ: Opc = MBlaze::BNEID; break;
- case MBlazeCC::NE: Opc = MBlaze::BEQID; break;
- case MBlazeCC::GT: Opc = MBlaze::BLEID; break;
- case MBlazeCC::LT: Opc = MBlaze::BGEID; break;
- case MBlazeCC::GE: Opc = MBlaze::BLTID; break;
- case MBlazeCC::LE: Opc = MBlaze::BGTID; break;
+ case MBlazeCC::EQ: Opc = MBlaze::BEQID; break;
+ case MBlazeCC::NE: Opc = MBlaze::BNEID; break;
+ case MBlazeCC::GT: Opc = MBlaze::BGTID; break;
+ case MBlazeCC::LT: Opc = MBlaze::BLTID; break;
+ case MBlazeCC::GE: Opc = MBlaze::BGEID; break;
+ case MBlazeCC::LE: Opc = MBlaze::BLEID; break;
}
F->insert(It, flsBB);
More information about the llvm-commits
mailing list