mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-06 20:27:42 +00:00
Some of us cared about the the promote path
llvm-svn: 23130
This commit is contained in:
parent
b0e46fa671
commit
f580b078b6
@ -1266,6 +1266,10 @@ SDOperand SelectionDAGLegalize::LegalizeOp(SDOperand Op) {
|
|||||||
default:
|
default:
|
||||||
assert(0 && "Cannot handle this action for SETCC yet!");
|
assert(0 && "Cannot handle this action for SETCC yet!");
|
||||||
break;
|
break;
|
||||||
|
case TargetLowering::Promote:
|
||||||
|
Result = DAG.getNode(ISD::SETCC, Node->getValueType(0), Tmp1, Tmp2,
|
||||||
|
Node->getOperand(2));
|
||||||
|
break;
|
||||||
case TargetLowering::Legal:
|
case TargetLowering::Legal:
|
||||||
if (Tmp1 != Node->getOperand(0) || Tmp2 != Node->getOperand(1))
|
if (Tmp1 != Node->getOperand(0) || Tmp2 != Node->getOperand(1))
|
||||||
Result = DAG.getNode(ISD::SETCC, Node->getValueType(0), Tmp1, Tmp2,
|
Result = DAG.getNode(ISD::SETCC, Node->getValueType(0), Tmp1, Tmp2,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user