https://reviews.llvm.org/D120423 replaced the use of stacksave/restore with memref.alloca_scope, but kept the save/restore at the same location. This PR places the allocation scope within the wsloop, thus keeping the same allocation scope as the original scf.parallel (e.g. no longer over stack allocating).
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
mlir/lib/Conversion/SCFToOpenMP/SCFToOpenMP.cpp | ||
---|---|---|
406–407 | Splice doesn't work well with patterns, consider something like rewriter.mergeBlocks instead. |
Splice doesn't work well with patterns, consider something like rewriter.mergeBlocks instead.