aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/Sparc
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2010-07-07 22:15:37 +0000
committerEvan Cheng <evan.cheng@apple.com>2010-07-07 22:15:37 +0000
commitbcc8017c738e92d9c1af221b11c4916cb524184e (patch)
treea34a5ecc0d176211b90dce108f1d624201ae4d65 /lib/Target/Sparc
parent03753fc734aae7f2b722ac27b45018536a77a89e (diff)
downloadexternal_llvm-bcc8017c738e92d9c1af221b11c4916cb524184e.zip
external_llvm-bcc8017c738e92d9c1af221b11c4916cb524184e.tar.gz
external_llvm-bcc8017c738e92d9c1af221b11c4916cb524184e.tar.bz2
Move getExtLoad() and (some) getLoad() DebugLoc argument after EVT argument for consistency sake.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@107820 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Sparc')
-rw-r--r--lib/Target/Sparc/SparcISelLowering.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/Sparc/SparcISelLowering.cpp b/lib/Target/Sparc/SparcISelLowering.cpp
index 028017e..4099a62 100644
--- a/lib/Target/Sparc/SparcISelLowering.cpp
+++ b/lib/Target/Sparc/SparcISelLowering.cpp
@@ -147,7 +147,7 @@ SparcTargetLowering::LowerFormalArguments(SDValue Chain,
unsigned Offset = 4-std::max(1U, ObjectVT.getSizeInBits()/8);
FIPtr = DAG.getNode(ISD::ADD, dl, MVT::i32, FIPtr,
DAG.getConstant(Offset, MVT::i32));
- Load = DAG.getExtLoad(LoadOp, dl, MVT::i32, Chain, FIPtr,
+ Load = DAG.getExtLoad(LoadOp, MVT::i32, dl, Chain, FIPtr,
NULL, 0, ObjectVT, false, false, 0);
Load = DAG.getNode(ISD::TRUNCATE, dl, ObjectVT, Load);
}