[Mlir-commits] [mlir] [mlir] Clamp UnPackOp tiling sizes from operand tile (PR #112429)

Han-Chung Wang llvmlistbot at llvm.org
Mon Oct 28 14:01:29 PDT 2024


================
@@ -629,6 +636,11 @@ struct UnPackOpTiling
     // The tiling is applied on interchanged dimensions. We have to undo the
     // interchange to map sizes and offsets to the original input.
     int64_t outputRank = unPackOp.getDestRank();
+    ReifiedRankedShapedTypeDims reifiedReturnShapes;
+    if (failed(reifyResultShapes(b, unPackOp, reifiedReturnShapes))) {
+      return failure();
+    }
----------------
hanhanW wrote:

llvm style nit: remove braces for simple single if-statement.

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


More information about the Mlir-commits mailing list