mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-26 12:50:30 +00:00
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:
parent
d4d46193fe
commit
3a4ded6113
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user