aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/PowerPC
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-09-21 17:04:51 +0000
committerChris Lattner <sabre@nondot.org>2010-09-21 17:04:51 +0000
commit3d6ccfba314ed38e4506dae2781a060e9a3e07ac (patch)
treef1308b7fb3416ff720cc9ec60f180afeba516848 /lib/Target/PowerPC
parent532baa5d537e6cbfd0642f6f4f10ad9f8571fa85 (diff)
downloadexternal_llvm-3d6ccfba314ed38e4506dae2781a060e9a3e07ac.zip
external_llvm-3d6ccfba314ed38e4506dae2781a060e9a3e07ac.tar.gz
external_llvm-3d6ccfba314ed38e4506dae2781a060e9a3e07ac.tar.bz2
propagate MachinePointerInfo through various uses of the old
SelectionDAG::getExtLoad overload, and eliminate it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114446 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC')
-rw-r--r--lib/Target/PowerPC/PPCISelLowering.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Target/PowerPC/PPCISelLowering.cpp b/lib/Target/PowerPC/PPCISelLowering.cpp
index 4f32ece..372edf5 100644
--- a/lib/Target/PowerPC/PPCISelLowering.cpp
+++ b/lib/Target/PowerPC/PPCISelLowering.cpp
@@ -3069,7 +3069,8 @@ PPCTargetLowering::LowerCall_Darwin(SDValue Chain, SDValue Callee,
EVT VT = (Size==1) ? MVT::i8 : MVT::i16;
if (GPR_idx != NumGPRs) {
SDValue Load = DAG.getExtLoad(ISD::EXTLOAD, PtrVT, dl, Chain, Arg,
- NULL, 0, VT, false, false, 0);
+ MachinePointerInfo(), VT,
+ false, false, 0);
MemOpChains.push_back(Load.getValue(1));
RegsToPass.push_back(std::make_pair(GPR[GPR_idx++], Load));