With memref.subview, we may create some programs like this, which can be directly executed with LLVM backend. However, the current remove-stride-map pass automatically removes those layout maps, causing the error. This PR fixes this issues by only removing the maps describing array partititon.
With
memref.subview
, we may create some programs like this, which can be directly executed with LLVM backend. However, the currentremove-stride-map
pass automatically removes those layout maps, causing the error. This PR fixes this issues by only removing the maps describing array partititon.