From 168a4c3d320a8189ce06dfd1ebe774c7589e9cb3 Mon Sep 17 00:00:00 2001
From: Peter Collingbourne
This is an overloaded intrinsic. You can use llvm.fabs on any + floating point or vector of floating point type. Not all targets support all + types however.
+ ++ declare float @llvm.fabs.f32(float %Val) + declare double @llvm.fabs.f64(double %Val) + declare x86_fp80 @llvm.fabs.f80(x86_fp80 %Val) + declare fp128 @llvm.fabs.f128(fp128 %Val) + declare ppc_fp128 @llvm.fabs.ppcf128(ppc_fp128 %Val) ++ +
The 'llvm.fabs.*' intrinsics return the absolute value of + the operand.
+ +The argument and return value are floating point numbers of the same + type.
+ +This function returns the same values as the libm fabs functions + would, and handles error conditions in the same way.
+ +