[Mlir-commits] [mlir] Extending UniformQuantizedType with interface-based support for new storage types in Quant dialect (PR #152966)

Javed Absar llvmlistbot at llvm.org
Mon Feb 9 04:25:35 PST 2026


================
@@ -159,6 +192,34 @@ def Builtin_Float8E4M3FN : Builtin_FloatType<"Float8E4M3FN", "f8E4M3FN"> {
 
     Described in: https://arxiv.org/abs/2209.05433
   }];
+
+  let extraClassDeclaration = [{
----------------
javedabsar1 wrote:

s/ /// QuantStorageTypeInterface method implementations
    /// Whether the storage type should default to signed when used in quantization.
/
    /// Returns 'true' if the the storage type should default to signed when used in quantization.

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


More information about the Mlir-commits mailing list