Skip to content

[REFACTOR][SCRIPT] Share normal IR constructor contracts - #20522

Merged
tqchen merged 2 commits into
apache:mainfrom
tqchen:script/constructor-contracts
Oct 2, 2026
Merged

tqchen merged 2 commits into
apache:mainfrom
tqchen:script/constructor-contracts

Conversation

@tqchen

@tqchen tqchen commented Oct 2, 2026

Copy link
Copy Markdown
Member

Use the normal IR constructors in script namespaces so argument names, defaults and validation agree. Rename the Call result-type keyword to ty, expose its explicit unchecked path for lossless raw printing, and reuse the ordinary Range and Relax value constructors.

Forward TIRx operation arguments through their normal contracts and remove obsolete ignored dtype arguments from downstream consumers. Retain annotation, module-context and variadic dtype adapters where script syntax requires them.

@tqchen
tqchen merged commit aafeaad into apache:main Oct 2, 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