mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-30 16:53:02 +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:
|
||||
assert(0 && "Cannot handle this action for SETCC yet!");
|
||||
break;
|
||||
case TargetLowering::Promote:
|
||||
Result = DAG.getNode(ISD::SETCC, Node->getValueType(0), Tmp1, Tmp2,
|
||||
Node->getOperand(2));
|
||||
break;
|
||||
case TargetLowering::Legal:
|
||||
if (Tmp1 != Node->getOperand(0) || Tmp2 != Node->getOperand(1))
|
||||
Result = DAG.getNode(ISD::SETCC, Node->getValueType(0), Tmp1, Tmp2,
|
||||
|
Loading…
x
Reference in New Issue
Block a user