mirror of
				https://github.com/c64scene-ar/llvm-6502.git
				synced 2025-10-31 08:16:47 +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:
		| @@ -431,8 +431,7 @@ SDValue SITargetLowering::LowerFormalArguments( | ||||
|       for (unsigned j = 0; j != NumElements; ++j) | ||||
|         Regs.push_back(DAG.getUNDEF(VT)); | ||||
|  | ||||
|       InVals.push_back(DAG.getNode(ISD::BUILD_VECTOR, DL, Arg.VT, | ||||
|                                    Regs.data(), Regs.size())); | ||||
|       InVals.push_back(DAG.getNode(ISD::BUILD_VECTOR, DL, Arg.VT, Regs)); | ||||
|       continue; | ||||
|     } | ||||
|  | ||||
| @@ -745,7 +744,7 @@ SDValue SITargetLowering::LowerBRCOND(SDValue BRCOND, | ||||
|   // build the new intrinsic call | ||||
|   SDNode *Result = DAG.getNode( | ||||
|     Res.size() > 1 ? ISD::INTRINSIC_W_CHAIN : ISD::INTRINSIC_VOID, DL, | ||||
|     DAG.getVTList(Res), Ops.data(), Ops.size()).getNode(); | ||||
|     DAG.getVTList(Res), Ops).getNode(); | ||||
|  | ||||
|   if (BR) { | ||||
|     // Give the branch instruction our target | ||||
|   | ||||
		Reference in New Issue
	
	Block a user