MasterJH5574 opened a new pull request #10327:
URL: https://github.com/apache/tvm/pull/10327


   This PR introduces the support of integer BufferLoadNodes in 
`arith::IntervalSetEvaluator` as well as a unittest.
   
   Prior to this PR, the evaluator always return `IntervalSet::Everything()` 
(that is `[-∞, +∞]`) once it encounters a BufferLoad. However, as long as 1) 
the buffer data _is of type integer_ and 2) the indices of the BufferLoad 
_contain no variable_ that needs to be relaxed during evaluation, we can keep 
the BufferLoad as it is.
   
   Besides, we're considering introducing `assume_in_range` for buffers for the 
use of range/region analysis. With `assume_in_range`, even when the indices of 
BufferLoad contain some variables to be relaxed, we can just return the 
asserted range, which is more compact, instead of the universe.
   
   cc @yzh119 @Hzfengsy @spectrometerHBH @junrushao1994 


-- 
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]


Reply via email to