summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2014-04-27 19:21:16 +0000
committerCraig Topper <craig.topper@gmail.com>2014-04-27 19:21:16 +0000
commit131de82adb23c13a2d0709986e50825fc1b0d641 (patch)
treecd89ca9ae00f34df57ab7bbfcf384518213b9f3e /llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
parent481fb2879f1cb92431f17cfd7fae2abeed720c2e (diff)
downloadbcm5719-llvm-131de82adb23c13a2d0709986e50825fc1b0d641.tar.gz
bcm5719-llvm-131de82adb23c13a2d0709986e50825fc1b0d641.zip
Convert SelectionDAG::MorphNodeTo to use ArrayRef.
llvm-svn: 207378
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
index b0bf79eb673..9ff2602deaa 100644
--- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
@@ -2106,7 +2106,8 @@ MorphNode(SDNode *Node, unsigned TargetOpc, SDVTList VTList,
// Call the underlying SelectionDAG routine to do the transmogrification. Note
// that this deletes operands of the old node that become dead.
- SDNode *Res = CurDAG->MorphNodeTo(Node, ~TargetOpc, VTList, Ops, NumOps);
+ SDNode *Res = CurDAG->MorphNodeTo(Node, ~TargetOpc, VTList,
+ ArrayRef<SDValue>(Ops, NumOps));
// MorphNodeTo can operate in two ways: if an existing node with the
// specified operands exists, it can just return it. Otherwise, it
OpenPOWER on IntegriCloud