[Mlir-commits] [mlir] [mlir][Tosa] Handle empty block-scaled reshape shapes (PR #220872)

Luke Hutton llvmlistbot at llvm.org
Thu Sep 3 05:22:49 PDT 2026


================
@@ -3234,10 +3236,14 @@ llvm::LogicalResult tosa::ReshapeBlockScaledOp::verify() {
     return failure();
   }
 
+  const uint32_t blockSize = BlockSizeAttr::getBlockSizeValue(getBlockSize());
----------------
lhutton1 wrote:

Why did blockSize move, is it needed here?

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


More information about the Mlir-commits mailing list