[Mlir-commits] [mlir] QuantileType relax quantileType conditions and inheritance issue (PR #204793)
Renato Golin
llvmlistbot at llvm.org
Wed Jun 24 02:13:28 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()) &&
----------------
rengolin wrote:
Yes, the original check was silly. What I mean is if you can't just check `isa<QuantileType>` instead?
https://github.com/llvm/llvm-project/pull/204793
More information about the Mlir-commits
mailing list