diff options
author | Dale Johannesen <dalej@apple.com> | 2009-02-07 19:59:05 +0000 |
---|---|---|
committer | Dale Johannesen <dalej@apple.com> | 2009-02-07 19:59:05 +0000 |
commit | 2dbdb0ea777a13c6fa8e9fe708e728a84752c20a (patch) | |
tree | 27915fd87b7bb9ec3f8ec281c5bc259ea8825594 /lib/CodeGen/SelectionDAG/LegalizeDAG.cpp | |
parent | 10b01ea148e74e3e5866841ec56980c91671e15b (diff) | |
download | external_llvm-2dbdb0ea777a13c6fa8e9fe708e728a84752c20a.zip external_llvm-2dbdb0ea777a13c6fa8e9fe708e728a84752c20a.tar.gz external_llvm-2dbdb0ea777a13c6fa8e9fe708e728a84752c20a.tar.bz2 |
Use getDebugLoc forwarder instead of getNode()->getDebugLoc.
No functional change.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64026 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/LegalizeDAG.cpp')
-rw-r--r-- | lib/CodeGen/SelectionDAG/LegalizeDAG.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp b/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp index 47a235f..e5a30c8 100644 --- a/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp +++ b/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp @@ -352,7 +352,7 @@ SDNode *SelectionDAGLegalize::isShuffleLegal(MVT VT, SDValue Mask) const { } } } - Mask = DAG.getNode(ISD::BUILD_VECTOR, Mask.getNode()->getDebugLoc(), + Mask = DAG.getNode(ISD::BUILD_VECTOR, Mask.getDebugLoc(), NVT, &Ops[0], Ops.size()); } VT = NVT; @@ -893,7 +893,7 @@ SDValue SelectionDAGLegalize::UnrollVectorOp(SDValue Op) { "Can't unroll a vector with multiple results!"); unsigned NE = VT.getVectorNumElements(); MVT EltVT = VT.getVectorElementType(); - DebugLoc dl = Op.getNode()->getDebugLoc(); + DebugLoc dl = Op.getDebugLoc(); SmallVector<SDValue, 8> Scalars; SmallVector<SDValue, 4> Operands(Op.getNumOperands()); @@ -5001,7 +5001,7 @@ SDValue SelectionDAGLegalize::ExpandEXTRACT_VECTOR_ELT(SDValue Op) { // lower to a store then an indexed load. SDValue Vec = Op.getOperand(0); SDValue Idx = Op.getOperand(1); - DebugLoc dl = Op.getNode()->getDebugLoc(); + DebugLoc dl = Op.getDebugLoc(); MVT TVT = Vec.getValueType(); unsigned NumElems = TVT.getVectorNumElements(); |