Displaying 2 results from an estimated 2 matches for "mipsoptimizemathlibcalls".
2013 Aug 09
2
[LLVMdev] Making MipsOptimizeMathLibCalls generic
MipsOptimizeMathLibCalls.cpp converts:
g = sqrt (f);
into:
r1 = sqrt (f) readonly;
if (g is a NaN)
r2 = sqrt (f);
g = phi (r1, r2)
I'd like to do the same on z. Would it be OK to make this pass generic
and do the transformation whenever FSQRT isLegalOrCustom for the type?
If so, should it stay a separ...
2013 Aug 16
0
[LLVMdev] Making MipsOptimizeMathLibCalls generic
Ping.
Richard Sandiford <rsandifo at linux.vnet.ibm.com> writes:
> MipsOptimizeMathLibCalls.cpp converts:
>
> g = sqrt (f);
>
> into:
>
> r1 = sqrt (f) readonly;
> if (g is a NaN)
> r2 = sqrt (f);
> g = phi (r1, r2)
>
> I'd like to do the same on z. Would it be OK to make this pass generic
> and do the transformation whenever FSQRT isLe...