diff --git a/lib/Target/CellSPU/SPUInstrInfo.td b/lib/Target/CellSPU/SPUInstrInfo.td index d00fe71ae86..f547f5c4a08 100644 --- a/lib/Target/CellSPU/SPUInstrInfo.td +++ b/lib/Target/CellSPU/SPUInstrInfo.td @@ -3130,12 +3130,12 @@ class SELECTNegCondReg; + (cmpare rclass:$rA, rclass:$rB))>; class SELECTNegCondImm: Pat<(select (inttype (cond rclass:$rA, immpred:$imm)), - rclass:$rTrue, rclass:$rFalse), + rclass:$rTrue, rclass:$rFalse), (selinstr rclass:$rTrue, rclass:$rFalse, (cmpare rclass:$rA, immpred:$imm))>; @@ -3174,7 +3174,7 @@ class SELECTBinOpImm: Pat<(select (inttype (cond rclass:$rA, (inttype immpred:$imm))), - rclass:$rTrue, rclass:$rFalse), + rclass:$rTrue, rclass:$rFalse), (selinstr rclass:$rFalse, rclass:$rTrue, (binop (cmpOp1 rclass:$rA, (inttype immpred:$imm)), (cmpOp2 rclass:$rA, (inttype immpred:$imm))))>;