[Mlir-commits] [mlir] [mlir][linalg] Remove `computeStaticLoopSizes` (PR #124778)

Javed Absar llvmlistbot at llvm.org
Fri Jan 31 08:58:56 PST 2025


javedabsar1 wrote:

I have found `getStaticLoopRanges()` sufficient. Some interesting relation in this respect:

`getLoopsToShapesMap = concatAffineMaps(_op.getIndexingMapsArray())`

`getShapesToLoopsMap = inversePermutation(getLoopsToShapesMap())`

`getStaticLoopRanges = getShapesToLoopsMap().compose(getStaticShape())`
and 
`computeStaticLoopSizes = ... getLoopsToShapesMap....`



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


More information about the Mlir-commits mailing list