[LLVMdev] IntrinsicLowering and several related problems
hao.shen at imag.fr
Mon Jun 7 13:09:41 PDT 2010
On Mon, Jun 7, 2010 at 9:47 PM, Duncan Sands <baldrick at free.fr> wrote:
> 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.
Here CI->getType()->isVoidTy() always returns true and it should be
>> 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.
>From what I understand, the vastart will be compiled into some
stack operations realized with assembly code. So there will be
no byte-code level things?
> For powi, my guess is that it is a mistake and should be lowered.
Thanks a lot, I will try to find why powi is not working.
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
More information about the llvm-dev