[llvm] [NVPTX] Add support for scaled::n1::ue8m0 in FP8, FP6 and FP4 conversions (PR #227652)

Durgadoss R via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 30 04:30:07 PDT 2026


================
@@ -2101,15 +2101,27 @@ let TargetPrefix = "nvvm" in {
             PureIntrinsic<[llvm_i16_ty],
                           [llvm_float_ty, llvm_float_ty, llvm_i1_ty],
                           [ImmArg<ArgIndex<2>, DefaultValue<0>>]>;
+        def int_nvvm_ff_to_ # type # _ # rnd # relu # _scale_n1_ue8m0
----------------
durga4github wrote:

Let us add the `Builtin` support as well.. as the related intrinsics already have them

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


More information about the llvm-commits mailing list