diff options
author | Michael Liao <michael.liao@intel.com> | 2013-04-19 22:22:57 +0000 |
---|---|---|
committer | Michael Liao <michael.liao@intel.com> | 2013-04-19 22:22:57 +0000 |
commit | 2a8bea7a8eba9bfa05dcc7a87e9152a0043841b2 (patch) | |
tree | 382b1250e8154fb540ac645d2e5f9fd1f65cb880 /lib/Target/R600 | |
parent | 87c1e42be7dadaea7c3e00fb7ccbd77633cea37f (diff) | |
download | external_llvm-2a8bea7a8eba9bfa05dcc7a87e9152a0043841b2.zip external_llvm-2a8bea7a8eba9bfa05dcc7a87e9152a0043841b2.tar.gz external_llvm-2a8bea7a8eba9bfa05dcc7a87e9152a0043841b2.tar.bz2 |
ArrayRefize getMachineNode(). No functionality change.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179901 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/R600')
-rw-r--r-- | lib/Target/R600/AMDILISelDAGToDAG.cpp | 2 | ||||
-rw-r--r-- | lib/Target/R600/SIISelLowering.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/R600/AMDILISelDAGToDAG.cpp b/lib/Target/R600/AMDILISelDAGToDAG.cpp index e0e0482..ba75a44 100644 --- a/lib/Target/R600/AMDILISelDAGToDAG.cpp +++ b/lib/Target/R600/AMDILISelDAGToDAG.cpp @@ -211,7 +211,7 @@ SDNode *AMDGPUDAGToDAGISel::Select(SDNode *N) { const SDValue Ops[] = { RC, N->getOperand(0), SubReg0, N->getOperand(1), SubReg1 }; return CurDAG->getMachineNode(TargetOpcode::REG_SEQUENCE, - N->getDebugLoc(), N->getValueType(0), Ops, 5); + N->getDebugLoc(), N->getValueType(0), Ops); } case ISD::ConstantFP: diff --git a/lib/Target/R600/SIISelLowering.cpp b/lib/Target/R600/SIISelLowering.cpp index 0147464..1a07aff 100644 --- a/lib/Target/R600/SIISelLowering.cpp +++ b/lib/Target/R600/SIISelLowering.cpp @@ -702,7 +702,7 @@ SDNode *SITargetLowering::foldOperands(MachineSDNode *Node, // Create a complete new instruction return DAG.getMachineNode(Desc->Opcode, Node->getDebugLoc(), - Node->getVTList(), Ops.data(), Ops.size()); + Node->getVTList(), Ops); } /// \brief Helper function for adjustWritemask |