[llvm] [NVPTX] Improve support for {ex2,lg2}.approx (PR #120519)

Princeton Ferro via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 24 10:59:56 PST 2024


================
@@ -145,6 +145,7 @@ def noPTXASUnreachableBug : Predicate<"!Subtarget->hasPTXASUnreachableBug()">;
 def doF32FTZ : Predicate<"useF32FTZ()">;
 def doNoF32FTZ : Predicate<"!useF32FTZ()">;
 def doRsqrtOpt : Predicate<"doRsqrtOpt()">;
+def useApproxLog2 : Predicate<"useApproxLog2()">;
----------------
Prince781 wrote:

I think it's not necessary actually.

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


More information about the llvm-commits mailing list