This covers more options for CSE. It also ensures that two operations
that have same operands but different regions to begin with, but same
regions after simplifyRegions, don't get both added to the list of
knownValues.
Fixes #59135
Paths
| Differential D139490
[mlir][Transforms] Simplify region before simplifying operation in CSE. ClosedPublic Authored by mravishankar on Dec 6 2022, 5:04 PM.
Details Summary This covers more options for CSE. It also ensures that two operations Fixes #59135
Diff Detail
Event Timelinemravishankar added inline comments.
Comment Actions Makes sense to me!
Comment Actions Refactor to account for invalid continue.
This revision is now accepted and ready to land.Dec 6 2022, 6:16 PM This revision was landed with ongoing or failed builds.Dec 7 2022, 3:11 PM Closed by commit rG242d5b2ba47d: [mlir][Transforms] Simplify region before simplifying operation in CSE. (authored by mravishankar). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 480706 mlir/lib/Transforms/CSE.cpp
mlir/test/Transforms/cse.mlir
|
This will miss the possible simplification of the region op?