Skip to content

MLIR opt pass flags on CLI (#166) - #206

Merged
godofecht merged 2 commits into
mainfrom
feat/mlir-opt-pass-flags
Aug 5, 2026
Merged

godofecht merged 2 commits into
mainfrom
feat/mlir-opt-pass-flags

Conversation

@godofecht

Copy link
Copy Markdown
Contributor

Summary

  • CLI toggles for every MLIROptimizer pass gate (`--no-mem2reg/sccp/licm/cse/dce/inline` plus existing vectorization/fusion)
  • `--print-pass-pipeline` prints the `mlir-opt` pipeline for the selected flags
  • Docs: `docs/language/mlir-opt-flags.md`; ROADMAP + checklist updated

Test plan

  • `pytest tests/unit/test_mlir_optimizer_passes.py` (16 passed)
  • `python3 -m flow.transpiler --print-pass-pipeline --opt-level O3 --no-inline`

Closes #166

Made with Cursor

godofecht and others added 2 commits August 5, 2026 20:07
Wire --no-{mem2reg,sccp,licm,cse,dce,inline} through transpiler and
--print-pass-pipeline for inspectable pipelines; document and close #166.

Co-authored-by: Cursor <[email protected]>
@godofecht
godofecht merged commit b7eb450 into main Aug 5, 2026
3 checks passed
@godofecht
godofecht deleted the feat/mlir-opt-pass-flags branch August 5, 2026 20:33
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.

[roadmap] MLIR opt pass flags

1 participant