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?
Chris Lattner
2011-Apr-26 20:27 UTC
[LLVMdev] SDTypeProfile with negative number of operands
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. -Chris
Reasonably Related Threads
- [LLVMdev] Implementing llvm.atomic.cmp.swap.i32 on PowerPC
- [LLVMdev] cmake and testsuite
- [LLVMdev] Creating tablegen patterns for intrinsics with no return value.
- [LLVMdev] Problem with Store of i8 in a global address
- [LLVMdev] Implementing llvm.atomic.cmp.swap.i32 on PowerPC