[LLVMdev] Does llvm intrinsic function allow "complicated" arguments?
kewuzhang
kewu.zhang at amd.com
Fri Mar 27 07:22:53 PDT 2015
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 second 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
More information about the llvm-dev
mailing list