summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Sparc/SparcISelLowering.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2015-10-22 17:05:00 +0000
committerCraig Topper <craig.topper@gmail.com>2015-10-22 17:05:00 +0000
commit8fe40e0ed5c121d2a0a2763f1da38dc4a312b245 (patch)
tree813900a03975f0009dbaee16095d8097bea83a80 /llvm/lib/Target/Sparc/SparcISelLowering.cpp
parent4192015cfef6f633ac457ff7ad99020c38c21102 (diff)
downloadbcm5719-llvm-8fe40e0ed5c121d2a0a2763f1da38dc4a312b245.tar.gz
bcm5719-llvm-8fe40e0ed5c121d2a0a2763f1da38dc4a312b245.zip
Change makeLibCall to take an ArrayRef<SDValue> instead of pointer and size. This removes the need to pass a hardcoded size in many places. NFC
llvm-svn: 251032
Diffstat (limited to 'llvm/lib/Target/Sparc/SparcISelLowering.cpp')
-rw-r--r--llvm/lib/Target/Sparc/SparcISelLowering.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/Sparc/SparcISelLowering.cpp b/llvm/lib/Target/Sparc/SparcISelLowering.cpp
index d07d48669cc..6138f54352a 100644
--- a/llvm/lib/Target/Sparc/SparcISelLowering.cpp
+++ b/llvm/lib/Target/Sparc/SparcISelLowering.cpp
@@ -2885,7 +2885,7 @@ static SDValue LowerUMULO_SMULO(SDValue Op, SelectionDAG &DAG,
SDValue MulResult = TLI.makeLibCall(DAG,
RTLIB::MUL_I128, WideVT,
- Args, 4, isSigned, dl).first;
+ Args, isSigned, dl).first;
SDValue BottomHalf = DAG.getNode(ISD::EXTRACT_ELEMENT, dl, VT,
MulResult, DAG.getIntPtrConstant(0, dl));
SDValue TopHalf = DAG.getNode(ISD::EXTRACT_ELEMENT, dl, VT,
OpenPOWER on IntegriCloud