From c1a8ad71e11123f1e3c8d9913a7f51978b9967d5 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Tue, 16 May 2006 06:43:59 +0000 Subject: [PATCH] Add a chain to FORMAL_ARGUMENTS. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28319 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/CodeGen/SelectionDAGNodes.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/include/llvm/CodeGen/SelectionDAGNodes.h b/include/llvm/CodeGen/SelectionDAGNodes.h index 7f317c5e98e..da630db30e0 100644 --- a/include/llvm/CodeGen/SelectionDAGNodes.h +++ b/include/llvm/CodeGen/SelectionDAGNodes.h @@ -115,12 +115,13 @@ namespace ISD { // UNDEF - An undefined node UNDEF, - /// FORMAL_ARGUMENTS(CC#, ISVARARG) - This node represents the formal + /// FORMAL_ARGUMENTS(CHAIN, CC#, ISVARARG) - This node represents the formal /// arguments for a function. CC# is a Constant value indicating the /// calling convention of the function, and ISVARARG is a flag that /// indicates whether the function is varargs or not. This node has one - /// result value for each incoming argument, and is typically custom - /// legalized. + /// result value for each incoming argument, plus one for the output chain. + /// It must be custom legalized. + /// FORMAL_ARGUMENTS, // EXTRACT_ELEMENT - This is used to get the first or second (determined by