summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Sparc
diff options
context:
space:
mode:
authorStuart Hastings <stuart@apple.com>2011-02-16 16:23:55 +0000
committerStuart Hastings <stuart@apple.com>2011-02-16 16:23:55 +0000
commit81c4306005b4dcb6130517cf91fedbe46c986e7d (patch)
treef6bb83be1e0cbdf4f815c46a8fe65088374246bf /llvm/lib/Target/Sparc
parentd691ad16800d99d9c6d1c38ff6031f82557b46ff (diff)
downloadbcm5719-llvm-81c4306005b4dcb6130517cf91fedbe46c986e7d.tar.gz
bcm5719-llvm-81c4306005b4dcb6130517cf91fedbe46c986e7d.zip
Swap VT and DebugLoc operands of getExtLoad() for consistency with
other getNode() methods. Radar 9002173. llvm-svn: 125665
Diffstat (limited to 'llvm/lib/Target/Sparc')
-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 079390e3bfa..196b87dd58d 100644
--- a/llvm/lib/Target/Sparc/SparcISelLowering.cpp
+++ b/llvm/lib/Target/Sparc/SparcISelLowering.cpp
@@ -274,7 +274,7 @@ SparcTargetLowering::LowerFormalArguments(SDValue Chain,
unsigned Offset = 4-std::max(1U, VA.getValVT().getSizeInBits()/8);
FIPtr = DAG.getNode(ISD::ADD, dl, MVT::i32, FIPtr,
DAG.getConstant(Offset, MVT::i32));
- Load = DAG.getExtLoad(LoadOp, MVT::i32, dl, Chain, FIPtr,
+ Load = DAG.getExtLoad(LoadOp, dl, MVT::i32, Chain, FIPtr,
MachinePointerInfo(),
VA.getValVT(), false, false,0);
Load = DAG.getNode(ISD::TRUNCATE, dl, VA.getValVT(), Load);
OpenPOWER on IntegriCloud