[Mlir-commits] [mlir] [mlir][tosa] Add add/sub/mul/div_floor/div_ceil_shape ops (PR #169321)

Luke Hutton llvmlistbot at llvm.org
Mon Dec 15 09:38:24 PST 2025


================
@@ -638,15 +644,21 @@ LogicalResult TosaValidation::levelCheckRanksAndSizes(Operation *op) {
   CHECK_RANKS_AND_SIZES(CastFromBlockScaled);
   CHECK_RANKS_AND_SIZES(CastToBlockScaled);
   CHECK_RANKS_AND_SIZES(Rescale);
+  // Data Nodes
+  CHECK_RANKS_AND_SIZES(Const);
----------------
lhutton1 wrote:

Good catch thanks! Shape operations should only have rank checks as their shape values may not be known

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


More information about the Mlir-commits mailing list