Skip to content

[ARITH] support floordiv in deduce bound#13880

Merged
wrongtest-intellif merged 3 commits intoapache:mainfrom
wrongtest-intellif:deduce_bound_support_support_floordiv
Feb 1, 2023
Merged

[ARITH] support floordiv in deduce bound#13880
wrongtest-intellif merged 3 commits intoapache:mainfrom
wrongtest-intellif:deduce_bound_support_support_floordiv

Conversation

@wrongtest-intellif
Copy link
Copy Markdown
Contributor

Hi, the patch handle floordiv a // positive in bound deducer. So that we could know x >= 24 in x // 8 >= 3

@tvm-bot
Copy link
Copy Markdown
Collaborator

tvm-bot commented Jan 31, 2023

Thanks for contributing to TVM! Please refer to the contributing guidelines https://tvm.apache.org/docs/contribute/ for useful information and tips. Please request code reviews from Reviewers by @-ing them in a comment.

Generated by tvm-bot

Comment thread tests/python/unittest/test_arith_deduce_bound.py Outdated
@Hzfengsy Hzfengsy changed the title support floordiv in deduce bound [ARITH] support floordiv in deduce bound Jan 31, 2023
Copy link
Copy Markdown
Member

@Hzfengsy Hzfengsy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@wrongtest-intellif wrongtest-intellif merged commit c3fe08f into apache:main Feb 1, 2023
fzi-peccia pushed a commit to fzi-peccia/tvm that referenced this pull request Mar 27, 2023
* support floordiv in deduce bound

* add rule for (x // -positive)

* leave todo for x // a == b
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.

3 participants