Skip to content

Phase 2: pass manager and graph passes - #2

Merged
deaneeth merged 1 commit into
feat/phase-1-graph-irfrom
feat/phase-2-graph-passes
Oct 26, 2026
Merged

deaneeth merged 1 commit into
feat/phase-1-graph-irfrom
feat/phase-2-graph-passes

Conversation

@deaneeth

Copy link
Copy Markdown
Member

Stacked on feat/phase-1-graph-ir. Merge the stack in order, starting from the bottom PR.

Commits in this PR:

  • Phase 2: pass manager and graph passes

Add a pass manager with always-on structural verification, optional
translation validation (--verify-each) against the numpy oracle, IR dumps
and timing. Passes: shape-infer, canonicalize, const-fold, cse, dce, fuse
(matmul with bias/relu epilogue), range-check (interval analysis proving
i32 safety) and per-target legalization. Add fused-matmul support to the
IR (attrs, printer, parser, verifier, oracle, interpreter), driver
pipelines per target and -O level, CLI flags, docs, and tests: directed
per-pass tests, manager tests, every example through every pipeline, and
Hypothesis properties (semantics preserved, idempotent, range-check
sound) over generated programs.
@deaneeth
deaneeth merged commit f746699 into feat/phase-1-graph-ir Oct 26, 2026
1 check passed
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