mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
Adding bug fix that was suppose to be part of 121044.
patch contributed by Jack Whitham! llvm-svn: 121049
This commit is contained in:
parent
996c76c27e
commit
ffdbf99b57
@ -333,12 +333,12 @@ MBlazeTargetLowering::EmitInstrWithCustomInserter(MachineInstr *MI,
|
||||
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);
|
||||
|
Loading…
Reference in New Issue
Block a user