-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
[TIR] Bind iter domain in analyzer in CreatePrimFunc #11187
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! BTW, does it guarantee that the PrimFunc created is simplified?
It makes best efforts. But generally arith analyzer doesn't guarantee the result is simplified |
Do you think it might make sense to call the Simplify pass upon PrimFunc creation? |
We've already called |
* [TIR] Bind iter domain in analyzer in CreatePrimFunc * lint * fix test
* [TIR] Bind iter domain in analyzer in CreatePrimFunc * lint * fix test
* [TIR] Bind iter domain in analyzer in CreatePrimFunc * lint * fix test
cc @Hzfengsy @junrushao1994