Unverified Commit 3e2992f0 authored by Christian Ulmann's avatar Christian Ulmann Committed by GitHub
Browse files

[MLIR][Mem2Reg] Replace pattern based approach with a bulk one (#85426)

This commit changes MLIR's Mem2Reg implementation back from being
pattern based into a full pass. Using Mem2Reg as a pattern is
wasteful, as each application can invalidate the dominance info.
Applying changes in bulk allows for reuse of the same dominance info.

Unfortunately, this requires some test changes, due to the `IRBuilder`
not simplifying IR.
parent a2fe4105
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment