[Mlir-commits] [mlir] [mlir][tosa] Add more informative error messages to block scaled types (PR #211569)
Sayan Saha
llvmlistbot at llvm.org
Thu Aug 6 07:43:02 PDT 2026
================
@@ -172,7 +172,19 @@ def AtLeastRankOne : And<[
CPred<"::llvm::cast<::mlir::RankedTensorType>($_self).getRank() >= 1">]>;
def IsValidBlockScaledTensorType
- : CPred<"::mlir::succeeded(::mlir::tosa::verifyBlockScaledTensorType($_self, false))">;
+ : CPred<"::mlir::succeeded(::mlir::tosa::"
+ "verifyBlockScaledTensorType($_self))">;
+
+// Analogous to ShapedContainerType, but with additional 'summary' information.
----------------
sahas3 wrote:
The new change makes sense to me.
https://github.com/llvm/llvm-project/pull/211569
More information about the Mlir-commits
mailing list