search for: int_test_intrinsic

Displaying 1 result from an estimated 1 matches for "int_test_intrinsic".

2009 Jun 23
2
[LLVMdev] How to add a trivial LLVM intrinsic
...tform is GCC-4.2.4/LLVM from SVN/x86. First, I've read the page here about 10 times, so I'll speculate that my reading comprehension is lacking: http://www.llvm.org/docs/ExtendingLLVM.html Code I've added to the bottom of the llvm/include/llvm/Intrinsics.td file: ----------------- def int_test_intrinsic : Intrinsic<[llvm_i32_ty], [llvm_i32_ty], [], "llvm.test.intrinsic">; ----------------- Code I've added to visitBuiltinCall in llvm/lib/Target/CBackend/CBackend.cpp: ----------------- case Intrinsic::test_intrinsic...