Skip to content

Conversation

@vinx13
Copy link
Member

@vinx13 vinx13 commented Apr 29, 2022

@github-actions github-actions bot requested review from Hzfengsy and junrushao April 29, 2022 17:32
Copy link
Member

@junrushao junrushao left a 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?

@vinx13
Copy link
Member Author

vinx13 commented Apr 29, 2022

It makes best efforts. But generally arith analyzer doesn't guarantee the result is simplified

@junrushao
Copy link
Member

Do you think it might make sense to call the Simplify pass upon PrimFunc creation?

@vinx13
Copy link
Member Author

vinx13 commented Apr 29, 2022

We've already called analyzre->Simplify for each expression, but it might still be helpful to call the Simplify pass again

@masahi masahi merged commit 26cefab into apache:main Apr 30, 2022
Hzfengsy pushed a commit to Hzfengsy/tvm that referenced this pull request May 11, 2022
shtinsa pushed a commit to Deelvin/tvm that referenced this pull request May 17, 2022
* [TIR] Bind iter domain in analyzer in CreatePrimFunc

* lint

* fix test
SebastianBoblest pushed a commit to SebastianBoblest/tvm that referenced this pull request May 27, 2022
* [TIR] Bind iter domain in analyzer in CreatePrimFunc

* lint

* fix test
jinhongyii pushed a commit to jinhongyii/tvm that referenced this pull request Jun 20, 2022
* [TIR] Bind iter domain in analyzer in CreatePrimFunc

* lint

* fix test
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