PowerPC: Remove redundancy in ternary for predicate selection

rG2c4620ad57b8 inadvertently added redundancies in selection of GT and
LE predicates for SPE.  Correct this.

Partially addresses PR 44768.
This commit is contained in:
Justin Hibbits 2020-02-04 10:33:39 -06:00
parent d4d46193fe
commit 3a4ded6113

View File

@ -3872,10 +3872,10 @@ static PPC::Predicate getPredicateForSetCC(ISD::CondCode CC, const EVT &VT,
return UseSPE ? PPC::PRED_GT : PPC::PRED_LT;
case ISD::SETULE:
case ISD::SETLE:
return UseSPE ? PPC::PRED_LE : PPC::PRED_LE;
return PPC::PRED_LE;
case ISD::SETOGT:
case ISD::SETGT:
return UseSPE ? PPC::PRED_GT : PPC::PRED_GT;
return PPC::PRED_GT;
case ISD::SETUGE:
case ISD::SETGE:
return UseSPE ? PPC::PRED_LE : PPC::PRED_GE;