Displaying 2 results from an estimated 2 matches for "op2c".
Did you mean:
op2
2013 Aug 13
2
[LLVMdev] SimplifyLibCalls doesn't check TLI for LibFunc availability
...r<> &B) {
Value *Ret = NULL;
if (UnsafeFPShrink && Callee->getName() == "pow" &&
TLI->has(LibFunc::powf)) {
UnaryDoubleFPOpt UnsafeUnaryDoubleFP(true);
Ret = UnsafeUnaryDoubleFP.callOptimizer(Callee, CI, B);
}
[...]
if (Op2C->isExactlyValue(0.5)) {
// Expand pow(x, 0.5) to (x == -infinity ? +infinity : fabs(sqrt(x))).
// This is faster than calling pow, and still handles negative zero
// and negative infinity correctly.
// TODO: In fast-math mode, this could be just sqrt(x).
// TODO: In...
2013 Aug 13
0
[LLVMdev] SimplifyLibCalls doesn't check TLI for LibFunc availability
...t; &&****
>
> TLI->has(LibFunc::powf)) {****
>
> UnaryDoubleFPOpt UnsafeUnaryDoubleFP(true);****
>
> Ret = UnsafeUnaryDoubleFP.callOptimizer(Callee, CI, B);****
>
> }****
>
> ** **
>
> [...]****
>
> ** **
>
> if (Op2C->isExactlyValue(0.5)) {****
>
> // Expand pow(x, 0.5) to (x == -infinity ? +infinity :
> fabs(sqrt(x))).****
>
> // This is faster than calling pow, and still handles negative zero*
> ***
>
> // and negative infinity correctly.****
>
> // TOD...