Skip to content

[REFACTOR][IR] Represent missing type information with MissingType - #20542

Open
tqchen wants to merge 2 commits into
apache:mainfrom
tqchen:task587-missingtype
Open

tqchen wants to merge 2 commits into
apache:mainfrom
tqchen:task587-missingtype

Conversation

@tqchen

@tqchen tqchen commented Oct 4, 2026

Copy link
Copy Markdown
Member

Introduce an empty final MissingType node for type information that has not been supplied or computed. Recognize missing types by node kind so ordinary construction and serialization preserve their meaning independently of object identity, while retaining the existing factory APIs.

Integrate reflection, structural traversal and TVMScript printing, and reject missing operands before Relax type-analysis shortcuts that require populated types. Type remains non-nullable.

This branch has not been deployed

No deployments
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