[LLVMdev] Tablegen question
bob.wilson at apple.com
Wed Apr 15 09:53:03 PDT 2009
On Apr 15, 2009, at 9:29 AM, Villmow, Micah wrote:
> I have this intrinsic definition for llvm.
> def int_opencl_math_fdistance_fast : Intrinsic<[llvm_float_ty],
> [llvm_anyfloat_ty, LLVMMatchType<0>]>;
> Can someone explain what LLVMMatchType does and how to specify it
> to match the first argument and not the return value?
> I’ve tried LLVMMatchType<1> but it fails in IntrinsicEmitter.cpp
Can you give some more info about how LLVMMatchType<1> fails? That
should do what you want.
More information about the llvm-dev