[Mlir-commits] [mlir] [mlir][quant] Bump up the MaxStorageBits from 32 to 64. (PR #91706)

Mehdi Amini llvmlistbot at llvm.org
Mon May 13 08:20:30 PDT 2024


================
@@ -44,15 +44,21 @@ QuantizedType::verify(function_ref<InFlightDiagnostic()> emitError,
   if (integralWidth == 0 || integralWidth > MaxStorageBits)
     return emitError() << "illegal storage type size: " << integralWidth;
 
-  // Verify storageTypeMin and storageTypeMax.
   bool isSigned =
       (flags & QuantizationFlags::Signed) == QuantizationFlags::Signed;
+  // u64 is not yet supproted because its full range cannot be represented
----------------
joker-eph wrote:

```suggestion
  // u64 is not yet supported because its full range cannot be represented
```

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


More information about the Mlir-commits mailing list