Skip to content

Conversation

@Hzfengsy
Copy link
Member

This commit adds a new IsBound method to the ConstIntBoundAnalyzer class that allows checking whether a variable is bound to a range. The method is exposed through both the C++ and Python APIs.

Changes:

  • Add IsBound method to ConstIntBoundAnalyzer C++ class
  • Expose IsBound through FFI as is_bound_const_int
  • Add Python binding with proper type hints
  • Add test case to verify the functionality
  • Improve type annotations throughout the analyzer module

This commit adds a new IsBound method to the ConstIntBoundAnalyzer class
that allows checking whether a variable is bound to a range. The method
is exposed through both the C++ and Python APIs.

Changes:
- Add IsBound method to ConstIntBoundAnalyzer C++ class
- Expose IsBound through FFI as is_bound_const_int
- Add Python binding with proper type hints
- Add test case to verify the functionality
- Improve type annotations throughout the analyzer module
@Hzfengsy
Copy link
Member Author

Please take another look @tqchen

@tqchen tqchen merged commit 2d63574 into apache:main Jun 18, 2025
12 of 13 checks passed
ShiboXing pushed a commit to ShiboXing/tvm that referenced this pull request Aug 10, 2025
This commit adds a new IsBound method to the ConstIntBoundAnalyzer class
that allows checking whether a variable is bound to a range. The method
is exposed through both the C++ and Python APIs.

Changes:
- Add IsBound method to ConstIntBoundAnalyzer C++ class
- Expose IsBound through FFI as is_bound_const_int
- Add Python binding with proper type hints
- Add test case to verify the functionality
- Improve type annotations throughout the analyzer module
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