diff options
author | David Greene <greened@obbligato.org> | 2010-02-15 16:57:13 +0000 |
---|---|---|
committer | David Greene <greened@obbligato.org> | 2010-02-15 16:57:13 +0000 |
commit | 15478ac350c33d4858c8abad9b01e5fbf6c97b81 (patch) | |
tree | c9a0220e6b0666800f1b834b7ebd9b62e220c82b /llvm/lib/Target/SystemZ/SystemZISelLowering.cpp | |
parent | 772fc342094c2f643291ca6be4a6d1addea91983 (diff) | |
download | bcm5719-llvm-15478ac350c33d4858c8abad9b01e5fbf6c97b81.tar.gz bcm5719-llvm-15478ac350c33d4858c8abad9b01e5fbf6c97b81.zip |
Remove an assumption of default arguments. This is in anticipation of a
change to SelectionDAG build APIs.
llvm-svn: 96238
Diffstat (limited to 'llvm/lib/Target/SystemZ/SystemZISelLowering.cpp')
-rw-r--r-- | llvm/lib/Target/SystemZ/SystemZISelLowering.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/llvm/lib/Target/SystemZ/SystemZISelLowering.cpp b/llvm/lib/Target/SystemZ/SystemZISelLowering.cpp index f7405a52deb..278825c1aea 100644 --- a/llvm/lib/Target/SystemZ/SystemZISelLowering.cpp +++ b/llvm/lib/Target/SystemZ/SystemZISelLowering.cpp @@ -337,7 +337,8 @@ SystemZTargetLowering::LowerCCCArguments(SDValue Chain, // from this parameter SDValue FIN = DAG.getFrameIndex(FI, getPointerTy()); ArgValue = DAG.getLoad(LocVT, dl, Chain, FIN, - PseudoSourceValue::getFixedStack(FI), 0); + PseudoSourceValue::getFixedStack(FI), 0, + false, false, 0); } // If this is an 8/16/32-bit value, it is really passed promoted to 64 @@ -435,7 +436,8 @@ SystemZTargetLowering::LowerCCCCallTo(SDValue Chain, SDValue Callee, DAG.getIntPtrConstant(Offset)); MemOpChains.push_back(DAG.getStore(Chain, dl, Arg, PtrOff, - PseudoSourceValue::getStack(), Offset)); + PseudoSourceValue::getStack(), Offset, + false, false, 0)); } } @@ -738,7 +740,7 @@ SDValue SystemZTargetLowering::LowerGlobalAddress(SDValue Op, if (ExtraLoadRequired) Result = DAG.getLoad(getPointerTy(), dl, DAG.getEntryNode(), Result, - PseudoSourceValue::getGOT(), 0); + PseudoSourceValue::getGOT(), 0, false, false, 0); // If there was a non-zero offset that we didn't fold, create an explicit // addition for it. |