[LLVMdev] # operands < # args

Ryan M. Lefever lefever at crhc.uiuc.edu
Sun Dec 3 18:26:25 PST 2006


In n transform I'm writing, when I call arg_size() on a variable 
argument function similar to printf, it returns 1.  However when I call 
getNumOperands() it returns 0.  Isn't an argument a type of operand? If 
so, shouldn't the number of operands be at least as big as the number of 
arguments?

Ryan


-- 
Ryan M. Lefever  [http://www.ews.uiuc.edu/~lefever]



More information about the llvm-dev mailing list