[Mlir-commits] [mlir] QuantileType relax quantileType conditions and inheritance issue (PR #204793)
Renato Golin
llvmlistbot at llvm.org
Tue Jun 23 05:54:38 PDT 2026
================
@@ -11,8 +11,8 @@ func.func private @invalid_storage_type() -> !quant.quantile<tensor<1xf32>:f32,
// -----
// Quantile (expressed) type must be a float.
-// expected-error @+1 {{quantile type must be a float type}}
-func.func private @invalid_quantile_type() -> !quant.quantile<ui4:i8, {1.0, 0.0, -1.0}>
+// expected-error @+1 {{quantile type must be a float or integer type}}
+func.func private @invalid_quantile_type() -> !quant.quantile<ui4:tensor<1xf32>, {1.0, 0.0, -1.0}>
----------------
rengolin wrote:
perhaps add a new test instead of replacing it?
https://github.com/llvm/llvm-project/pull/204793
More information about the Mlir-commits
mailing list