[Mlir-commits] [mlir] QuantileType relax quantileType conditions and inheritance issue (PR #204793)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Wed Jun 24 02:55:19 PDT 2026


================
@@ -41,7 +41,8 @@ unsigned QuantizedType::getFlags() const {
 }
 
 bool QuantizedType::classof(Type type) {
-  return llvm::isa<QuantDialect>(type.getDialect());
+  return llvm::isa<QuantDialect>(type.getDialect()) &&
----------------
vsimion26 wrote:

True, I missed that, I was really focused on `QuantileType` being part of the `QuantDialect` and forgot that it s not inheriting `QuantizedType` anymore :). I will update this

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


More information about the Mlir-commits mailing list