[flang-commits] [flang] [mlir] [mlir][IR] Move `match` and `rewrite` functions into separate class (PR #129861)

Matthias Springer via flang-commits flang-commits at lists.llvm.org
Wed Mar 5 06:40:21 PST 2025


matthias-springer wrote:

> So for folks with the existing split one, it's like a 3 line change to use the split one instead?

That's right. Users should derive from `RewritePattern::SplitMatchAndRewrite` instead of `RewritePattern`, etc. That's it.


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


More information about the flang-commits mailing list