[Mlir-commits] [mlir] [mlir][vector] Set InBound for vector read write after peeling (PR #89108)

Diego Caballero llvmlistbot at llvm.org
Fri Apr 19 02:32:25 PDT 2024


dcaballe wrote:

> The loop is generated by affine vectorizer and then peeling. 

Let me suggest something else... Could you apply peeling before vectorization and then run the vectorizer on the main loop and optionally on the remainder loop? In that way, masks won't be generated for the main loop and you can decide how to go about the remainder loop (i.e., vectorize it or not...). WDYT?

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


More information about the Mlir-commits mailing list