[LLVMdev] IntrinsicLowering and several related problems

Duncan Sands baldrick at free.fr
Mon Jun 7 12:47:34 PDT 2010

Hi Hao Shen,

> 1. Why I can not get the type of CallInst *CI?
>     !CI->getType()->isVoidTy() is not working and how to solve it?

what does "not working" mean?  It should work.

> 2. Why Intrinsic::vastart and Intrinsic::powi are excluded from
> IntrinsicLowering function?
> There are no way to lower them at the byte-code level?

For vastart, it probably isn't possible at the byte-code level.
For powi, my guess is that it is a mistake and should be lowered.



More information about the llvm-dev mailing list