[Mlir-commits] [mlir] [mlir][linalg] Add pattern to bubble-up pack through expand shape op (PR #93529)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Tue Jun 25 18:45:13 PDT 2024


================

----------------
yifeizh2 wrote:

@adam-smnk I encountered the same bug on my end.
The root cause for the bug is that `outerDimsPerm` is an optional attribute that could be empty. However, when calling `applyPermutationAndReindexReassoc`, it assumes `outerDimsPerm` to be non-empty. One possible solution is to fill `outerDimsPerm` with default values (`[0, 1, 2, ...]`).

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


More information about the Mlir-commits mailing list