projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
38a1826
)
Use only one API at a time.
author
Eric Christopher
<echristo@apple.com>
Thu, 20 Jan 2011 01:29:23 +0000
(
01:29
+0000)
committer
Eric Christopher
<echristo@apple.com>
Thu, 20 Jan 2011 01:29:23 +0000
(
01:29
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123866
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
b/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
index f0ce28471b52106c89047cd5fcc29f88fe20a814..88e354abcb2e245502608e80e667df7ac2788ce2 100644
(file)
--- a/
lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
+++ b/
lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
@@
-3210,8
+3210,7
@@
void SelectionDAGLegalize::ExpandNode(SDNode *Node,
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()));