Skip to content

Add context-free Call reinference and binding type propagation - #20480

Merged
tqchen merged 15 commits into
apache:mainfrom
tqchen:task553-call-reinfer
Sep 28, 2026
Merged

tqchen merged 15 commits into
apache:mainfrom
tqchen:task553-call-reinfer

Conversation

@tqchen

@tqchen tqchen commented Sep 28, 2026 •

Copy link
Copy Markdown
Member

Summary

  • Separate native context-free Call type inference from builder-dependent Relax and distributed inference, with strict read-only reinference from current Call inputs.
  • Infer tirx.buffer_data from its BufferVar argument and reinfer after pointer storage-scope rewrites.
  • Migrate TVM structural visit and mutation hooks to native tvm-ffi callbacks and remove the structural compatibility header.
  • Propagate Bind and Let value type changes through their binder definitions and later uses while preserving unchanged node identity.
  • Reuse existing Call result Type objects when inference establishes an equivalent result cheaply.

@tqchen
tqchen force-pushed the task553-call-reinfer branch from cb8cecb to 5b3367e Compare September 28, 2026 11:44
@tqchen
tqchen merged commit a7fffaa into apache:main Sep 28, 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