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?
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