diff options
author | Dale Johannesen <dalej@apple.com> | 2009-02-05 00:20:09 +0000 |
---|---|---|
committer | Dale Johannesen <dalej@apple.com> | 2009-02-05 00:20:09 +0000 |
commit | 7ae8c8b108f710b8f697b51c9f6534af873996e6 (patch) | |
tree | d6cb4634f6d632eb804d3f28509d1b47d9446a1e /llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp | |
parent | fff09f335dbecde1232e090066b4b7bf9a9a30fe (diff) | |
download | bcm5719-llvm-7ae8c8b108f710b8f697b51c9f6534af873996e6.tar.gz bcm5719-llvm-7ae8c8b108f710b8f697b51c9f6534af873996e6.zip |
Remove non-DebugLoc versions of getMergeValues, ZeroExtendInReg.
llvm-svn: 63800
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp')
-rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp index c3cff2037e4..223e307f5a4 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp @@ -882,7 +882,8 @@ SDValue SelectionDAGLowering::getValue(const Value *V) { for (unsigned i = 0, e = Val->getNumValues(); i != e; ++i) Constants.push_back(SDValue(Val, i)); } - return DAG.getMergeValues(&Constants[0], Constants.size()); + return DAG.getMergeValues(&Constants[0], Constants.size(), + getCurDebugLoc()); } if (isa<StructType>(C->getType()) || isa<ArrayType>(C->getType())) { @@ -904,7 +905,7 @@ SDValue SelectionDAGLowering::getValue(const Value *V) { else Constants[i] = DAG.getConstant(0, EltVT); } - return DAG.getMergeValues(&Constants[0], NumElts); + return DAG.getMergeValues(&Constants[0], NumElts, getCurDebugLoc()); } const VectorType *VecTy = cast<VectorType>(V->getType()); @@ -5786,7 +5787,8 @@ LowerArguments(BasicBlock *LLVMBB) { ComputeValueVTs(TLI, AI->getType(), ValueVTs); unsigned NumValues = ValueVTs.size(); if (!AI->use_empty()) { - SDL->setValue(AI, SDL->DAG.getMergeValues(&Args[a], NumValues)); + SDL->setValue(AI, SDL->DAG.getMergeValues(&Args[a], NumValues, + SDL->getCurDebugLoc())); // If this argument is live outside of the entry block, insert a copy from // whereever we got it to the vreg that other BB's will reference it as. DenseMap<const Value*, unsigned>::iterator VMI=FuncInfo->ValueMap.find(AI); |