[llvm] [NVPTX] Support llvm.{exp2, log2} for f32/f16/bf16 and vectors (PR #120519)

Princeton Ferro via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 20 13:53:06 PST 2024


================
@@ -94,6 +94,18 @@ static cl::opt<bool> UsePrecSqrtF32(
     cl::desc("NVPTX Specific: 0 use sqrt.approx, 1 use sqrt.rn."),
     cl::init(true));
 
+static cl::opt<bool> UseApproxExp2F32(
----------------
Prince781 wrote:

Done.

https://github.com/llvm/llvm-project/pull/120519


More information about the llvm-commits mailing list