Displaying 1 result from an estimated 1 matches for "int_nvvm_membar_cta".
2013 Feb 07
1
[LLVMdev] How to set isTarget bit for a complex intrinsic class in tblgen?
Dear all,
Let's say there is some complex tblgen intrinsic definition, for example:
class MEMBAR<string StrOp, Intrinsic IntOP> :
NVPTXInst<(outs), (ins),
StrOp, [(IntOP)]>;
def INT_MEMBAR_CTA : MEMBAR<"membar.cta;", int_nvvm_membar_cta>;
def INT_MEMBAR_GL : MEMBAR<"membar.gl;", int_nvvm_membar_gl>;
def INT_MEMBAR_SYS : MEMBAR<"membar.sys;", int_nvvm_membar_sys>;
Question: how to set an isTarget bit to the Intrinsic subclass of it?
In simple cases that would be
let isTarget = 1 in { ... }
H...