Skip to content

Refactor SSA compiler naming#169

Merged
voltjia merged 1 commit into
ssa-compiler-with-multibackendfrom
ssa-naming-cleanup
Jul 3, 2026
Merged

Refactor SSA compiler naming#169
voltjia merged 1 commit into
ssa-compiler-with-multibackendfrom
ssa-naming-cleanup

Conversation

@voltjia

@voltjia voltjia commented Jul 2, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Replace legacy-style IR names with namespace-scoped kernel and SSA IR names.
  • Move SSA frontend lowering, compiler passes, backend registry, and SSA emitter code into clearer packages.
  • Drop the legacy ProgramIR compatibility path and update tests to cover the SSA-first API surface.

Validation

Remote validation was run on ssh nvidia from ~/ninetoothed.

~/.venv/bin/ruff check --fix
Found 11 errors (11 fixed, 0 remaining).

~/.venv/bin/ruff format
72 files left unchanged

~/.venv/bin/ruff check
All checks passed!

~/.venv/bin/python scripts/check_contributing_style.py
passed

pytest output:

PATH=$HOME/.venv/bin:$PATH ~/.venv/bin/pytest tests/test_backend_registry.py tests/test_kernel_ir.py tests/test_lowering_inference.py tests/test_ssa_application_lowering.py tests/test_ssa_first_backend_lowering.py tests/test_ssa_pass_pipeline.py
68 passed, 1 skipped in 40.52s

@voltjia
voltjia marked this pull request as ready for review July 2, 2026 08:44
@voltjia
voltjia requested a review from whjthu July 2, 2026 13:43
@voltjia
voltjia merged commit 43eeb73 into ssa-compiler-with-multibackend Jul 3, 2026
10 of 16 checks passed
@voltjia
voltjia deleted the ssa-naming-cleanup branch July 3, 2026 06:46
voltjia added a commit that referenced this pull request Jul 16, 2026
* Add SSA compiler pipeline and unified backends

* refine ssa multibackend PR boundaries and pass registration

* move backend ssa pass registration into backend modules

* Add backend SSA pass contracts and registry validation

* revert test_aot_auto_tuning.py

* fix ruff

* style: satisfy contributing style checks after rebase

* Refactor SSA compiler naming (#169)

* Refactor IR dataclass constructors (#172)

* unify SSA compilation and executable multi-backend support

* Fix ruff error, refine SSA compiler structure and address review feedback

* Refactor SSA backend pipeline and restore Triton runtime autotining

* Removing TVM backend and refine Triton, CUDA, TileLang backends

* Fix zero-like GPU launches, architecture-aware caching, and JIT API

* Fix Triton AOT multi-context launches (#195)

* Add Triton AOT multi-context design

* Fix Triton AOT multi-context launches

* Cover fresh Triton AOT context guard

* Remove development process documents

* Address remaining SSA review comments (#196)

* Address remaining SSA review comments

* Sort test imports for Ruff

* Remove redundant entrypoint assertions

---------

Co-authored-by: Jiacheng Huang <45955067+voltjia@users.noreply.github.com>
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.

2 participants