[LLVMdev] inserting a target specific builtin in llvm pass

Sam Parker S.Parker3 at lboro.ac.uk
Mon Nov 26 14:24:37 PST 2012


I'm writing a pass which needs to insert an intrinsic in for my target, but
I'm not sure how to create the call. I've tried defining a function, with
the target intrinsic as its name, and then creating a new CallInst to call
it. But how am I supposed to declare this function as an intrinsic?



View this message in context: http://llvm.1065342.n5.nabble.com/inserting-a-target-specific-builtin-in-llvm-pass-tp51823.html
Sent from the LLVM - Dev mailing list archive at Nabble.com.

More information about the llvm-dev mailing list