Displaying 1 result from an estimated 1 matches for "intrinsicstarget".
2014 Aug 05
2
[LLVMdev] Concerning not relevant argument count in TableGen Patterns.
...ses*.
Then I need to define the instruction:
*def MOVInstr : Mymov<0x2, "mov">;*
*def : TargetPat<(int_myintrinsicname), (MOVInstr)>;* /// error: In
anonymous.4: Instruction 'MOVInstr' expects more operands than were
provided./
int the corresponding /inclue/llvm/IR/IntrinsicsTarget.td/ file:
*def int_myintrinsicname : Intrinsic< [llvm_i16_ty], [],
[<IntrinsicProperty>], "llvm.my_intrinsic_name" >;*
This causes an error (shown in a comment) because I have specified an
instruction class which has two operands (one in "outs" list and the other
o...