Skip to content

Conversation

@multiverstack-intellif
Copy link
Contributor

@multiverstack-intellif multiverstack-intellif commented Jan 5, 2023

Add an arith helper interface to analyze common sub expression.

Also modify InsertVectorToSortedSemanticComputations to be aware of the occurrence times.
cc @Hzfengsy @wrongtest-intellif

@tvm-bot
Copy link
Collaborator

tvm-bot commented Jan 5, 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

Copy link
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.

Overall LGTM

multiverstack-intellif and others added 10 commits January 6, 2023 16:11
Co-authored-by: Siyuan Feng <Hzfengsy@sjtu.edu.cn>
Co-authored-by: Siyuan Feng <Hzfengsy@sjtu.edu.cn>
Co-authored-by: Siyuan Feng <Hzfengsy@sjtu.edu.cn>
Co-authored-by: Siyuan Feng <Hzfengsy@sjtu.edu.cn>
Co-authored-by: Siyuan Feng <Hzfengsy@sjtu.edu.cn>
@wrongtest-intellif wrongtest-intellif merged commit a435cbb into apache:main Jan 9, 2023
fzi-peccia pushed a commit to fzi-peccia/tvm that referenced this pull request Mar 27, 2023
* [TIR][Arith] Add common sub expr analyzer

* Update python/tvm/arith/pattern.py

Co-authored-by: Siyuan Feng <Hzfengsy@sjtu.edu.cn>

* Update src/arith/detect_common_subexpr.cc

Co-authored-by: Siyuan Feng <Hzfengsy@sjtu.edu.cn>

* Update python/tvm/arith/pattern.py

Co-authored-by: Siyuan Feng <Hzfengsy@sjtu.edu.cn>

* Update python/tvm/arith/pattern.py

Co-authored-by: Siyuan Feng <Hzfengsy@sjtu.edu.cn>

* Update src/arith/detect_common_subexpr.cc

Co-authored-by: Siyuan Feng <Hzfengsy@sjtu.edu.cn>

* Update detect_common_subexpr.cc

* Update pattern.py

* Update pattern.py

* Update pattern.py

* Update pattern.py

Co-authored-by: Min Chen <chen.min@intellif.com>
Co-authored-by: Siyuan Feng <Hzfengsy@sjtu.edu.cn>
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.

4 participants