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

Umang Yadav llvmlistbot at llvm.org
Tue Jun 10 06:00:08 PDT 2025


================
@@ -139,6 +171,36 @@ def AMDGPU_PackedTrunc2xFp8Op :
   let hasVerifier = 1;
 }
 
+def AMDGPU_PackedScaledTruncOp
+    : AMDGPU_Op<"packed_scaled_trunc", [Pure]>,
----------------
umangyadav wrote:

nit:
for the `ext` it is named as `scaled_ext_packed` 
here it is `packed_scaled_trunc`. I find it better to call it `scaled_trunc_packed`

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


More information about the Mlir-commits mailing list