[Mlir-commits] [flang] [llvm] [mlir] [flang] Implement workdistribute construct lowering (PR #140523)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Fri Jul 4 02:08:21 PDT 2025


skc7 wrote:

> I am not sure the using rewrite patterns is suitable here - mainly because we have a list of transformations we know we need to do in what order so there is no need to involve patterns which add additional overhead and complexity (guarding against matching again etc, making sure the order is correct). That's how the LowerWorkshare pass is implemented.

Thanks @ivanradanov for feedback. Have updated PR, removing the rewrite patterns.

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


More information about the Mlir-commits mailing list