[llvm-dev] Query supported llvm intrinsic calls during runtime.

Deepak Rajendrakumaran via llvm-dev llvm-dev at lists.llvm.org
Wed Feb 24 11:15:14 PST 2021


Hello,

I have a frontend which creates LLVM IR and uses LLVM optimizations and
codegen. Is there  someway to query LLVM during runtime if a particular
intrinsic is supported?

For example- during runtime user says call the following intrinsic -
‘llvm.foo(<8 x i64>)’. I’m looking for a way to verify that llvm.foo(<8 x
i64>)’. is a valid llvm intrinsic before creating IR/inserting in IR.

Regards,
Deepak
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20210224/057d42df/attachment.html>


More information about the llvm-dev mailing list