summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2015-02-19 15:26:17 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2015-02-19 15:26:17 +0000
commitea68a944a1e92b619acececd66ca89d30cd59e4d (patch)
treee65fef3a8f95b33525a2449d4d0d7d5e590422b2 /llvm/lib/CodeGen/SelectionDAG
parent2462a2f404b5042e7b997a48ad02099236e25dc2 (diff)
downloadbcm5719-llvm-ea68a944a1e92b619acececd66ca89d30cd59e4d.tar.gz
bcm5719-llvm-ea68a944a1e92b619acececd66ca89d30cd59e4d.zip
Demote vectors to arrays. No functionality change.
llvm-svn: 229861
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/StatepointLowering.cpp10
1 files changed, 3 insertions, 7 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/StatepointLowering.cpp b/llvm/lib/CodeGen/SelectionDAG/StatepointLowering.cpp
index 5c80984807d..f61b0275ded 100644
--- a/llvm/lib/CodeGen/SelectionDAG/StatepointLowering.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/StatepointLowering.cpp
@@ -607,13 +607,9 @@ void SelectionDAGBuilder::visitStatepoint(const CallInst &CI) {
if (Glue.getNode())
Ops.push_back(Glue);
- // Compute return values
- SmallVector<EVT, 21> ValueVTs;
- ValueVTs.push_back(MVT::Other);
- ValueVTs.push_back(MVT::Glue); // provide a glue output since we consume one
- // as input. This allows someone else to chain
- // off us as needed.
- SDVTList NodeTys = DAG.getVTList(ValueVTs);
+ // Compute return values. Provide a glue output since we consume one as
+ // input. This allows someone else to chain off us as needed.
+ SDVTList NodeTys = DAG.getVTList(MVT::Other, MVT::Glue);
SDNode *StatepointMCNode = DAG.getMachineNode(TargetOpcode::STATEPOINT,
getCurSDLoc(), NodeTys, Ops);
OpenPOWER on IntegriCloud