mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-22 10:33:23 +00:00
Use only one API at a time.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123866 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
38a18261b9
commit
e3385811aa
@ -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()));
|
||||
|
Loading…
x
Reference in New Issue
Block a user