[LLVMdev] Does llvm intrinsic function allow "complicated" arguments?---- correction for my previous msg
kewuzhang
kewu.zhang at amd.com
Fri Mar 27 07:24:23 PDT 2015
On Mar 27, 2015, at 10:22 AM, kewuzhang <kewu.zhang at amd.com> wrote:
> Hi Guys,
>
> I see an intrinsic function call like this "call float @ir.sample_complex.f32(float a, int bitcast (i16 337203 to i32) , i32 1, <2 x float> %62, float %61) “,
> Then I got trouble to process the third operand "int bitcast (i16 337203 to i32)”, the third operand I got is “constant 337203”.
>
> I think something is messed up, but the getOperand(i) is llvm core function. So I suspect the above intrinsic call is legal or not?
>
> any suggestions?
>
> best
> kevin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150327/4f9e6bb9/attachment.html>
More information about the llvm-dev
mailing list