I am trying to compile a little intrinsic function for my machine. Here is a dump from clang-cc with --emit-llvm option:
What's the TD definition of your intrinsic?
-bw
Here is my .td definition in IntrinsicsMymachine.td
let TargetPrefix = "mymachine" in { //
def int_mymachine_su_route :
Intrinsic<[llvm_void_ty], [llvm_i32_ty,
llvm_i32_ty], [IntrNoMem]>;
}
-- fima