search for: callfloatbitcast

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

2015 Jan 04
4
[LLVMdev] should AlwaysInliner inline this case?
%294 = call float bitcast (float (float, float*)* @__gpu_modff to float ( float, i64)*)(float %293, i64 %preg.212.addr.0) as you may know, some gpu backends don't support function call. we need to make sure to inline all functions here. however, Inliner can not figure out that this is a valid callsite in this form. actually, it is. in C words, cast a function and then call should be treat as
2015 Jan 05
3
[LLVMdev] should AlwaysInliner inline this case?
...bitcast more than one time. we can detect this situation and treat it as a regular call of last function, is that okay? thanks, --lx On Mon, Jan 5, 2015 at 7:32 AM, Philip Reames <listmail at philipreames.com> wrote: > On 01/04/2015 12:04 AM, Liu Xin wrote: > >> >> %294= callfloatbitcast (float(float, float*)* @__gpu_modff to >> float(float, i64)*)(float%293, i64 %preg.212.addr.0) >> >> as you may know, some gpu backends don't support function call. we need >> to make sure to inline all functions here. however, Inliner can not figure >> out that th...
2015 Jan 05
2
[LLVMdev] should AlwaysInliner inline this case?
...and treat it as a regular call of last function, is that > okay? > > thanks, > --lx > > > On Mon, Jan 5, 2015 at 7:32 AM, Philip Reames <listmail at philipreames.com> > wrote: > >> On 01/04/2015 12:04 AM, Liu Xin wrote: >> >>> >>> %294= callfloatbitcast (float(float, float*)* @__gpu_modff to >>> float(float, i64)*)(float%293, i64 %preg.212.addr.0) >>> >>> as you may know, some gpu backends don't support function call. we need >>> to make sure to inline all functions here. however, Inliner can not figure >...
2015 Jan 05
3
[LLVMdev] should AlwaysInliner inline this case?
...and treat it as a regular call of last function, is that > okay? > > thanks, > --lx > > > On Mon, Jan 5, 2015 at 7:32 AM, Philip Reames <listmail at philipreames.com> > wrote: > >> On 01/04/2015 12:04 AM, Liu Xin wrote: >> >>> >>> %294= callfloatbitcast (float(float, float*)* @__gpu_modff to >>> float(float, i64)*)(float%293, i64 %preg.212.addr.0) >>> >>> as you may know, some gpu backends don't support function call. we need >>> to make sure to inline all functions here. however, Inliner can not figure >...