search for: myadd1

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

Did you mean: myadd
2009 Jul 10
2
[LLVMdev] Help: Instruction Pattern Matching question
..., string asmstr,list<dag> pattern> Instruction { let Namespce = "MyNameSpace"; MyOpCode myop = op; MySubOpcode mysubop = subop; dag OutOprandList = outs; dag InOprandList = ins; let ASMString = asmstr; let Pattern = pattern; } def My_ADDINST1: MyInst <MYADD1, NO_SUBOP, (outs ptr_rc: $dest), (ins: $ptr_rc:$ptr1, Int32RC:$src) "myadd1 $dst, $ptr1, $src1", [(set $ptr_rc:$dst,(add $ptr_rc:ptr1, Int32RC:$src))]>; it is giving me error like impossible to select. Could anybody help me resolve this issue. Any example would be highl...