[Mlir-commits] [mlir] [mlir][tosa] Add several level checks (PR #128074)

Luke Hutton llvmlistbot at llvm.org
Tue Feb 25 03:59:29 PST 2025


================
@@ -695,6 +773,9 @@ LogicalResult TosaValidation::applyErrorIfCheck(Operation *op) {
 }
 
 bool TosaValidation::isValidElementType(Type type) {
+  if (auto quantType = llvm::dyn_cast<mlir::quant::QuantizedType>(type))
----------------
lhutton1 wrote:

Should quantized types have already been stripped at this point?

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


More information about the Mlir-commits mailing list