Skip to content

Conversation

@Lunderberg
Copy link
Contributor

This PR introduces tir::builtin::assume, which is used to represent assumptions to be exposed to transformations, which would otherwise require out-of-scope information to prove.

This PR is part of the handling of padded buffer layout transformations (tracking issue, rfc). Later PRs will introduce transformations that make use of the information provided by assumptions.

@Lunderberg
Copy link
Contributor Author

This is currently a draft PR, as the unit tests depend on functionality introduced in #12264.

@Lunderberg Lunderberg marked this pull request as ready for review August 2, 2022 14:16
@Lunderberg
Copy link
Contributor Author

#12264 has landed (Thank you @junrushao1994 for the quick review!), and this PR is ready for review.

@junrushao
Copy link
Member

CC @yzh119 who might be interested :-)

@Lunderberg Lunderberg merged commit 8a0911c into apache:main Aug 5, 2022
@Lunderberg Lunderberg deleted the tir_assume branch August 5, 2022 15:43
xinetzone pushed a commit to daobook/tvm that referenced this pull request Nov 25, 2022
* [RemoveAssume] Implemented T.assume in TVMScript, RemoveAssume

* [UnitTest] RemoveAssume, initial functionality tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants