Displaying 2 results from an estimated 2 matches for "getinfin".
Did you mean:
getinfo
2013 Aug 13
2
[LLVMdev] SimplifyLibCalls doesn't check TLI for LibFunc availability
...ty : 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 finite-only mode, this could be just fabs(sqrt(x)).
Value *Inf = ConstantFP::getInfinity(CI->getType());
Value *NegInf = ConstantFP::getInfinity(CI->getType(), true);
Value *Sqrt = EmitUnaryFloatFnCall(Op1, "sqrt", B,
Callee->getAttributes());
Value *FAbs = EmitUnaryFloatFnCall(Sqrt, "fabs", B,...
2013 Aug 13
0
[LLVMdev] SimplifyLibCalls doesn't check TLI for LibFunc availability
...and still handles negative zero*
> ***
>
> // and negative infinity correctly.****
>
> // TODO: In fast-math mode, this could be just sqrt(x).****
>
> // TODO: In finite-only mode, this could be just fabs(sqrt(x)).****
>
> Value *Inf = ConstantFP::getInfinity(CI->getType());****
>
> Value *NegInf = ConstantFP::getInfinity(CI->getType(), true);****
>
> Value *Sqrt = EmitUnaryFloatFnCall(Op1, "sqrt", B,****
>
> Callee->getAttributes());****
>
> Value *...