Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[arith][BugFix] Fix simplify input PrimExpr of DetectClipBound #12150

Merged
merged 1 commit into from
Jul 22, 2022

Conversation

yincs-intellif
Copy link
Contributor

@yincs-intellif yincs-intellif commented Jul 21, 2022

This patch enhance DetectClipBound function support input PrimExpr includes tir.Not or tir. Min or tir.Max.
Eg: (1)(!(a > (b*6)) && ((a - 1) > 0))
(2) ((min(a, b) > 3) && ((a - 10) < 0))
cc @wrongtest-intellif

Copy link
Contributor

@wrongtest-intellif wrongtest-intellif left a comment

Choose a reason for hiding this comment

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

LGTM

@yincs-intellif yincs-intellif changed the title [arith][BugFix] Fix not simplify PrimExpr before DetectClipBound [arith][BugFix] Fix simplify input PrimExpr of DetectClipBound Jul 21, 2022
@Hzfengsy Hzfengsy merged commit 8c42a83 into apache:main Jul 22, 2022
@yincs-intellif
Copy link
Contributor Author

Thanks! @wrongtest-intellif @Hzfengsy

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