[llvm-dev] add intrinsic function support for customized backend

Tim Northover via llvm-dev llvm-dev at lists.llvm.org
Thu Oct 22 13:08:57 PDT 2015


On 22 October 2015 at 11:50, Xiangyang Guo via llvm-dev
<llvm-dev at lists.llvm.org> wrote:
>                       [(set i32:$dst, (int_foo i32:$src1, i32:$src2))]> {

What's your definition of int_foo? It should be coming from
include/llvm/IR/IntrinsicsXYZ.td. If the expected name and types don't
match up with that .td file LLVM tends to just assume you meant a real
call.

Also, make sure you've included IntrinsicsXYZ.td in Intrinsics.td.

Tim.


More information about the llvm-dev mailing list