[LLVMdev] SDTypeProfile with negative number of operands

Chris Lattner clattner at apple.com
Tue Apr 26 13:27:11 PDT 2011

On Apr 26, 2011, at 1:09 PM, llvmjp wrote:

> I noticed SDTypeProfile is commonly used with -1 for the number of 
> operands, as in:
> def SDT_SystemZCall         : SDTypeProfile<0, -1, [SDTCisPtrTy<0>]>;
> What does this do?

This means that the node has a variadic/arbitrary number of arguments.


More information about the llvm-dev mailing list