Skip to content

feat(mlir): loop fusion parity test and matrix/stencil benchmark (#665) - #1475

Merged
godofecht merged 1 commit into
mainfrom
feat/665-affine-fusion-benchmark
Oct 12, 2026
Merged

godofecht merged 1 commit into
mainfrom
feat/665-affine-fusion-benchmark

Conversation

@godofecht

Copy link
Copy Markdown
Contributor

Summary

Addresses remaining deliverables for #665.

  • Adds tests/mlir/affine_loop_fusion.flow fusing a broadcast and a reduction with their producer into one kernel.
  • Adds benchmarks/mlir_fusion/benchmark.flow comparing matrix and stencil execution through scf.for and the affine/linalg pipeline with and without loop fusion.
  • Records golden MLIR command output in tests/mlir_commands/expected/mlir_affine_loop_fusion.mlir.

Verification

  • ./flow tool tests/mlir_commands/run.flow passed (89/89)
  • ./flow test-mlir passed (6/6)
  • ./flow tool tests/scripts/mlir_affine.flow passed (7/7)
  • ./flow tool python_ratchet && ./flow tool shell_ratchet passed

@godofecht
godofecht enabled auto-merge October 12, 2026 02:00
@godofecht
godofecht added this pull request to the merge queue Oct 12, 2026
Merged via the queue into main with commit c313034 Oct 12, 2026
26 checks passed
@godofecht
godofecht deleted the feat/665-affine-fusion-benchmark branch October 12, 2026 23:02
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