search for: int_test_and_clear_bit

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

2009 Jun 23
2
[LLVMdev] How to add a trivial LLVM intrinsic
...ded any code to llvm/lib/Target/X86 because when I did, I received a tablegen error. I think I'm not understanding the difference between an intrinsic that maps directly to a single machine instruction, and a more complex intrinsic that invokes a C function. In particular, I tried adding: def int_test_and_clear_bit : X86Inst; to the end of X86.td, but that resulted in a tablegen compilation error. Code I've added to the end of LowerIntrinsicCall in /lib/CodeGen/IntrinsicLowering.cpp: ----------------- case Intrinsic::test_intrinsic: break; ----------------- Note that the intent is to make this...