Skip to content

mlir: elementwise fusion pass for polyhedral loop optimization (#665) - #889

Merged
godofecht merged 1 commit into
mainfrom
harvest/665-polyhedral
Sep 12, 2026
Merged

godofecht merged 1 commit into
mainfrom
harvest/665-polyhedral

Conversation

@godofecht

Copy link
Copy Markdown
Contributor

Advances #665. Adds linalg-fuse-elementwise-ops to the loop-fusion stage and a generator hook that emits linalg.generic for simple elementwise loops so they can fuse under affine/linalg. Ships a fusion microbenchmark. 65 MLIR tests pass (rebased onto the merged multi-buffering/pipelining passes). Incremental; issue stays open for full polyhedral tiling.

Add linalg-fuse-elementwise-ops to the loop-fusion stage of the pass
pipeline and the supporting generator hooks, so elementwise chains fuse
under affine/linalg. Ships a fusion microbenchmark. 65 MLIR tests pass.
Incremental step on the polyhedral-transforms issue.

Co-Authored-By: Claude <[email protected]>
@godofecht
godofecht merged commit 679f947 into main Sep 12, 2026
2 checks passed
@godofecht
godofecht deleted the harvest/665-polyhedral branch October 1, 2026 12:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant