[llvm] [NVPTX] Improve support for {ex2,lg2}.approx (PR #120519)
Alex MacLean via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 2 20:17:31 PST 2025
================
@@ -1193,6 +1213,8 @@ defm FNEG_H: F2_Support_Half<"neg", fneg>;
defm FSQRT : F2<"sqrt.rn", fsqrt>;
+defm FEXP2_H: F2_Support_Half_2<"ex2.approx", fexp2>;
----------------
AlexMaclean wrote:
Are the f16 and f16x2 variants needed? won't the Patterns in NVPTXIntrinsics.td already handle this?
https://github.com/llvm/llvm-project/pull/120519
More information about the llvm-commits
mailing list