[flang-commits] [flang] [mlir] [mlir][Transforms] `GreedyPatternRewriteDriver`: Do not CSE constants during iterations (PR #75897)

Jacques Pienaar via flang-commits flang-commits at lists.llvm.org
Thu Dec 21 20:05:11 PST 2023


https://github.com/jpienaar commented:

This makes sense to me. Previously the constant folding optimization limited the patterns that can be used. This change gives most of the same folding optimization while avoiding that. (we may need to hoist out some helpers there eventually). I'll wait for someone else to chime in too given change centrality, but this looks close to least disruptive change that avoids the issue.

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


More information about the flang-commits mailing list