You are viewing a plain text version of this content. The canonical link for it is here.
Posted to discuss-archive@tvm.apache.org by "tqchen (via GitHub)" <gi...@apache.org> on 2026/07/04 02:17:57 UTC
[PR] [TIR] Construct proven scalar integer constants directly [tvm]
tqchen opened a new pull request, #19934:
URL: https://github.com/apache/tvm/pull/19934
Replace MakeConst with direct IntImm construction at call sites whose static contracts guarantee scalar integer constants.
The repository-wide audit converts 80 call sites across 32 files. Generic construction remains where runtime dtype, vector behavior, unsigned range, overload resolution, or invalid-input diagnostics require it. Eleven initially proposed conversions were reverted after compilation and focused tests exposed false positives.
Validation:
- LLVM-enabled compiler and runtime library build
- Focused arithmetic, TIR, S-TIR, TOPI, TE, LLVM-codegen, reflection, and printing suites
- Changed-file pre-commit and git diff checks
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: discuss-archive-unsubscribe@tvm.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: discuss-archive-unsubscribe@tvm.apache.org
For additional commands, e-mail: discuss-archive-help@tvm.apache.org
Re: [PR] [TIR] Construct proven scalar integer constants directly [tvm]
Posted by "tqchen (via GitHub)" <gi...@apache.org>.
tqchen merged PR #19934:
URL: https://github.com/apache/tvm/pull/19934
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: discuss-archive-unsubscribe@tvm.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: discuss-archive-unsubscribe@tvm.apache.org
For additional commands, e-mail: discuss-archive-help@tvm.apache.org