1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 03:23:01 +02:00

LegalizeSetCCOperands should legalize the result of ExpandLibCall. Patch by Richard Osborne.

llvm-svn: 53169
This commit is contained in:
Evan Cheng 2008-07-07 07:18:09 +00:00
parent 5b1024c386
commit 38ce408540

View File

@ -4743,7 +4743,7 @@ void SelectionDAGLegalize::LegalizeSetCCOperands(SDOperand &LHS,
Tmp1 = DAG.getNode(ISD::OR, Tmp1.getValueType(), Tmp1, Tmp2);
Tmp2 = SDOperand();
}
LHS = Tmp1;
LHS = LegalizeOp(Tmp1);
RHS = Tmp2;
return;
}