[llvm-commits] [llvm] r53169 - /llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
Evan Cheng
evan.cheng at apple.com
Mon Jul 7 00:18:09 PDT 2008
Author: evancheng
Date: Mon Jul 7 02:18:09 2008
New Revision: 53169
URL: http://llvm.org/viewvc/llvm-project?rev=53169&view=rev
Log:
LegalizeSetCCOperands should legalize the result of ExpandLibCall. Patch by Richard Osborne.
Modified:
llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
Modified: llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp?rev=53169&r1=53168&r2=53169&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp (original)
+++ llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp Mon Jul 7 02:18:09 2008
@@ -4743,7 +4743,7 @@
Tmp1 = DAG.getNode(ISD::OR, Tmp1.getValueType(), Tmp1, Tmp2);
Tmp2 = SDOperand();
}
- LHS = Tmp1;
+ LHS = LegalizeOp(Tmp1);
RHS = Tmp2;
return;
}
More information about the llvm-commits
mailing list