mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-09 13:41:47 +00:00
Adding bug fix that was suppose to be part of 121044.
patch contributed by Jack Whitham! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121049 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
dc80380de8
commit
a3b2200472
@ -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