Skip to content

[FIX][IR] Share typed expression mismatch diagnostics - #20523

Merged
tqchen merged 2 commits into
apache:mainfrom
tqchen:ir/intexpr-mismatch-diagnostics
Oct 3, 2026
Merged

tqchen merged 2 commits into
apache:mainfrom
tqchen:ir/intexpr-mismatch-diagnostics

Conversation

@tqchen

@tqchen tqchen commented Oct 2, 2026

Copy link
Copy Markdown
Member

Use one TypedExpr mismatch formatter for PrimExpr and IntExpr so rejected expressions consistently report their type with ty=, including primitive dtype details. Retain the existing strict scalar integer checks and conversions.

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