Skip to content

[REFACTOR][TIR] Remove IRTransform in favour of tvm_ffi.structural_map - #20304

Merged
tqchen merged 2 commits into
apache:mainfrom
tqchen:refactor-tir-remove-irtransform
Sep 10, 2026
Merged

[REFACTOR][TIR] Remove IRTransform in favour of tvm_ffi.structural_map#20304
tqchen merged 2 commits into
apache:mainfrom
tqchen:refactor-tir-remove-irtransform

Conversation

@tqchen

@tqchen tqchen commented Sep 10, 2026

Copy link
Copy Markdown
Member

Replace the legacy TIRx IRTransform API with the typed tvm_ffi.structural_map interface while preserving the existing postorder replacement behavior.

  • Remove the C++ declaration, implementation, registration, and Python wrapper for IRTransform.
  • Migrate all remaining postorder-only tile-primitive tests to typed structural_map callbacks.
  • Remove the dedicated mixed preorder/postorder legacy API test; no production caller uses both phases in one pass.
  • Validate the changed area with 128 passing tests and compare the full-suite failure set against the parent tree.

@tqchen
tqchen merged commit fa8691e into apache:main Sep 10, 2026
8 checks 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.

2 participants