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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
