[Mlir-commits] [mlir] [mlir][AMDGPU] Add scaled floating point conversion ops fp8 (PR #141554)

Krzysztof Drewniak llvmlistbot at llvm.org
Wed Jun 4 12:31:16 PDT 2025


================
@@ -112,6 +112,38 @@ def AMDGPU_ExtPackedFp8Op :
   }];
 }
 
+def AMDGPU_ScaledExtPackedOp
+    : AMDGPU_Op<"scaled_ext_packed", [Pure]>,
+      Arguments<(
+          ins AnyTypeOf<[VectorOfLengthAndType<[2, 3, 4], [F8E5M2, F8E4M3FN]>,
----------------
krzysz00 wrote:

I think we can allow `1` here?

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


More information about the Mlir-commits mailing list