[Mlir-commits] [mlir] [mlir][tensor] Add support for tensor.pack static shapes inference. (PR #80848)

Quinn Dawkins llvmlistbot at llvm.org
Sat Feb 10 16:27:21 PST 2024


================
@@ -3983,6 +3983,41 @@ static bool paddingIsNotNeeded(PackOp op) {
                                       op.getMixedTiles());
 }
 
+// Returns true if the `srcShape` or `destShape` is different from the one in
+// `packOp`.
----------------
qedawkins wrote:

```suggestion
// Returns true if the `srcShape` or `destShape` is different from the one in
// `packOp` and populates each with the inferred static shape.
```

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


More information about the Mlir-commits mailing list