Skip to content

[REFACTOR][TIRx] Collect root statements without seq_scope - #20564

Merged
tqchen merged 1 commit into
apache:mainfrom
tqchen:task601-root-tir-sequence
Oct 6, 2026
Merged

tqchen merged 1 commit into
apache:mainfrom
tqchen:task601-root-tir-sequence

Conversation

@tqchen

@tqchen tqchen commented Oct 6, 2026

Copy link
Copy Markdown
Member

Standalone TIR builders now collect consecutive root statements into a normalized sequence, preserving single-statement results and copy-on-write ownership. This removes the need for the dummy pragma_scope="seq" attribute.

Remove seq_scope and its wrappers from the imperative TOPI and Relax builders, and update the corresponding expected IR.

Accumulate standalone TIR statements as a normalized sequence while preserving single-statement results and copy-on-write ownership. Remove the dummy sequence attribute from imperative builders and their expected IR.
@tqchen
tqchen merged commit 8b60e7f into apache:main Oct 6, 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