mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-24 23:28:41 +00:00
Convert SelectionDAG::getNode methods to use ArrayRef<SDValue>.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@207327 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1806,8 +1806,7 @@ SDNode *SelectionDAGISel::Select_INLINEASM(SDNode *N) {
|
||||
SelectInlineAsmMemoryOperands(Ops);
|
||||
|
||||
EVT VTs[] = { MVT::Other, MVT::Glue };
|
||||
SDValue New = CurDAG->getNode(ISD::INLINEASM, SDLoc(N),
|
||||
VTs, &Ops[0], Ops.size());
|
||||
SDValue New = CurDAG->getNode(ISD::INLINEASM, SDLoc(N), VTs, Ops);
|
||||
New->setNodeId(-1);
|
||||
return New.getNode();
|
||||
}
|
||||
@@ -2081,7 +2080,7 @@ HandleMergeInputChains(SmallVectorImpl<SDNode*> &ChainNodesMatched,
|
||||
if (InputChains.size() == 1)
|
||||
return InputChains[0];
|
||||
return CurDAG->getNode(ISD::TokenFactor, SDLoc(ChainNodesMatched[0]),
|
||||
MVT::Other, &InputChains[0], InputChains.size());
|
||||
MVT::Other, InputChains);
|
||||
}
|
||||
|
||||
/// MorphNode - Handle morphing a node in place for the selector.
|
||||
|
Reference in New Issue
Block a user