[LLVMdev] Patch: MSIL backend global pointers initialization
anton at korobeynikov.info
Wed Apr 15 05:01:36 PDT 2009
> The interesting for me part of the CallInst is printf(i8* noalias %0, i32
> I was diging in doxygen documentation but I really can't see the easy way to
> compare those instructions and again finish with reinvented (but working)
> wheel ;).
Ah, sorry. I missed that you're doing variadic calls, not casting
variadic function to definite ones. I think you can construct CallSite
and then iterate over the arguments grabbing their types and construct
function type after that.
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University
More information about the llvm-dev