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

Md Asghar Ahmad Shahid llvmlistbot at llvm.org
Thu Aug 21 22:51:43 PDT 2025


shahidact wrote:

> What are the issues with instead treating scales/zps as SSA operands on the consuming ops in the case of dynamic quantization?

The fundamental issue is that **quantization is a type-level property**, not just an operational detail. When we strip this information from types and relegate it to operation operands, we lose:

- Compiler reasoning capabilities
- Type safety guarantees
- Optimization opportunities
- Clean abstraction boundaries

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


More information about the Mlir-commits mailing list