Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a Flow specific canonicalizer pass #17836

Merged
merged 3 commits into from
Jul 12, 2024

Conversation

qedawkins
Copy link
Contributor

Certain patterns that are borderline canonicalizations or better suited as a canonical form for certain phases benefit from having a phase specific canonicalization pass. The only pattern added here for now is consecutive insert/extract slice folding which is always beneficial in Flow, but not in Codegen.

@qedawkins qedawkins added the benchmarks:comp-stats Run default compilation statistics benchmarks label Jul 9, 2024
Copy link

github-actions bot commented Jul 9, 2024

Abbreviated Benchmark Summary

@ commit 3aa48fc1d0ca8ddd99f4b840da20bc12483d08b2 (vs. base 429aafd877536c0efca7cd0865c98b3692ec9728)

No improved or regressed compilation metrics 🏖️

For more information:

Source Workflow Run

Certain patterns that are borderline canonicalizations or better suited
as a canonical form for certain phases benefit from having a phase
specific canonicalization pass. The only pattern added here for now is
consecutive insert/extract slice folding which is always beneficial in
Flow, but not in Codegen.
@qedawkins qedawkins merged commit 05dfe0b into iree-org:main Jul 12, 2024
57 of 58 checks passed
@qedawkins qedawkins deleted the flow_canonicalize branch July 12, 2024 14:37
LLITCHEV pushed a commit to LLITCHEV/iree that referenced this pull request Jul 30, 2024
Certain patterns that are borderline canonicalizations or better suited
as a canonical form for certain phases benefit from having a phase
specific canonicalization pass. The only pattern added here for now is
consecutive insert/extract slice folding which is always beneficial in
Flow, but not in Codegen.

Signed-off-by: Lubo Litchev <lubol@google.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
benchmarks:comp-stats Run default compilation statistics benchmarks
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants