[llvm-commits] [llvm] r123866 - /llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
Eric Christopher
echristo at apple.com
Wed Jan 19 17:29:23 PST 2011
Author: echristo
Date: Wed Jan 19 19:29:23 2011
New Revision: 123866
URL: http://llvm.org/viewvc/llvm-project?rev=123866&view=rev
Log:
Use only one API at a time.
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=123866&r1=123865&r2=123866&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp (original)
+++ llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp Wed Jan 19 19:29:23 2011
@@ -3210,8 +3210,7 @@
LHS = DAG.getNode(Ops[isSigned][2], dl, WideVT, LHS);
RHS = DAG.getNode(Ops[isSigned][2], dl, WideVT, RHS);
- SDValue Ops[2] = { LHS, RHS };
- SDValue Ret = ExpandLibCall(LC, Node, Ops);
+ SDValue Ret = ExpandLibCall(LC, Node, isSigned);
BottomHalf = DAG.getNode(ISD::TRUNCATE, dl, VT, Ret);
TopHalf = DAG.getNode(ISD::SRL, dl, Ret.getValueType(), Ret,
DAG.getConstant(VT.getSizeInBits(), TLI.getPointerTy()));
More information about the llvm-commits
mailing list