Skip to content

tirx: represent buffer parameters with BufferType - #20082

Open
tqchen wants to merge 7 commits into
apache:mainfrom
tqchen:tvm-phase-out-buffer-map
Open

tirx: represent buffer parameters with BufferType#20082
tqchen wants to merge 7 commits into
apache:mainfrom
tqchen:tvm-phase-out-buffer-map

Conversation

@tqchen

@tqchen tqchen commented Aug 2, 2026

Copy link
Copy Markdown
Member

This phases out PrimFunc.buffer_map as stored IR state. Buffer parameters now carry their BufferType annotation directly in PrimFunc.params, while a derived-map helper and legacy constructor shim preserve source compatibility.

The migration updates construction and visitor paths across TIRx, TE, S-TIR, Relax, printers/parsers, packed-ABI lowering, specialization, storage rewriting, and related tests and documentation.

@gemini-code-assist

Copy link
Copy Markdown
Contributor

Caution

The consumer version of Gemini Code Assist on GitHub has been sunset. All code review activity has officially ceased.

@tqchen
tqchen force-pushed the tvm-phase-out-buffer-map branch from b660251 to b8b66af Compare August 2, 2026 13:41
@tqchen

tqchen commented Aug 3, 2026

Copy link
Copy Markdown
Member Author

@tvm-bot rerun

1 similar comment
@tqchen

tqchen commented Aug 3, 2026

Copy link
Copy Markdown
Member Author

@tvm-bot rerun

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