[Mlir-commits] [mlir] [mlir][memref] Support test-compose-subview dynamic size (PR #146881)

lonely eagle llvmlistbot at llvm.org
Sat Jul 5 01:55:59 PDT 2025


linuxlonelyeagle wrote:

> Could you please describe _why_ are you making this change in the commit message?

For the following gemm algorithm, I do tiles on m, n, and k.I would like to be able to compose-subview, but I find that test-compose-subview doesn't work. So I made a modification to the pass, and so far it looks like there is no problem with such a modification.
```
for xxx step %tile_m { // tile m
   %subview_m = subview [][%tile_m, size0][]
  for xxx { // tie n
     %subview_n = subview [][size1, %tile_n][]
    for xxx step %tile_k { // tile k
        %subview_subview_m = subview %subview_m[][%tile_m, %tike_k][]
         ....
        gemm
    }
 }
}
```

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


More information about the Mlir-commits mailing list