search for: intrnoreturn

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

2014 Mar 03
2
[LLVMdev] Lower CFI IDs Using Target Intrinsic
...ower using a definition in the ARMInstrInfo.td file. Right now, I’m trying to define the pattern and instruction in that file. At first, I just inserted a pattern to lower our intrinsic into a “trap” instruction, which worked fine: /* Code in IR/IntrinsicsARM.td */ /* Note, I’m not positive that IntrNoReturn is correct here, but IntrNoMem type wouldn’t lower to an SDNode because of lack of “results” */ def int_arm_cfiid : Intrinsic<[], [llvm_i32_ty], [IntrNoReturn]>; … /* Code in Target/ARM/ARMInstrInfo.td */ def : Pat<(int_arm_cfiid (i32 imm)), (TRAP)>; ... Next, I’m...