search for: adddiv

Displaying 4 results from an estimated 4 matches for "adddiv".

2014 Jul 18
2
[LLVMdev] how to define INTRINSIC_W_CHAIN
en! my test is : %r1 = call<float> @test.adddiv( <float> %r0, <float>* %p0). since >> but somehow it always fall into INTRINSIC_WO_CHAIN category. (caught it in lowering..) I think it doesn’t have chain in initial DAG. unfortunately the intrinsic “test.adddiv” is defined by me for now. not sure how to make it has a cha...
2014 Jul 18
2
[LLVMdev] how to define INTRINSIC_W_CHAIN
...y], [IntrReadWriteArgMem], !strconcat(“llvm.test”, asmstr),”.float”) >; tks On Jul 18, 2014, at 4:06 PM, Tom Stellard <tom at stellard.net> wrote: > On Fri, Jul 18, 2014 at 03:19:47PM -0400, kewuzhang wrote: >> en! >> >> my test is : %r1 = call<float> @test.adddiv( <float> %r0, <float>* %p0). >> since >> > > Can you show us the code from your .td file where you define the intrinsic? > > -Tom > >>>> but somehow it always fall into INTRINSIC_WO_CHAIN category. >> (caught it in lowering..) >&gt...
2014 Jul 18
2
[LLVMdev] how to define INTRINSIC_W_CHAIN
...Tom > >> >> tks >> On Jul 18, 2014, at 4:06 PM, Tom Stellard <tom at stellard.net> wrote: >> >>> On Fri, Jul 18, 2014 at 03:19:47PM -0400, kewuzhang wrote: >>>> en! >>>> >>>> my test is : %r1 = call<float> @test.adddiv( <float> %r0, <float>* %p0). >>>> since >>>> >>> >>> Can you show us the code from your .td file where you define the intrinsic? >>> >>> -Tom >>> >>>>>> but somehow it always fall into INTRINSIC_...
2014 Jul 18
3
[LLVMdev] how to define INTRINSIC_W_CHAIN
Hi guys, I am working on an intrinsic function, which will write to a pointer argument. So I am lowering it and think I need to catch it in lowerINTRINSIC_W_CHAIN, but somehow it always fall into INTRINSIC_WO_CHAIN category. I put [IntrReadwriteArgMem] into my Intrinsic class definition, it did not help. tried put [SDNPHasChain] into intrinsic class definition, cause errors” Element type