Skip to content

Conversation

@vinx13
Copy link
Member

@vinx13 vinx13 commented Aug 15, 2023

When the lower bound predicate is present, TryFuseIters will rewrite an expression to IterMarkWithOffset, where the iter mark (structured form) has minimum value of zero. During rewriting, when the subexpression matches a previous rewritten result (IterMarkWithOffset), previously it doesn't correctly add the offset to the result IterMarkWithOffset, and causes inconsistency between the flattened form and the structured (normal) form.

cc @wrongtest-intellif @spectrometerHBH

When the lower bound predicate is present, `TryFuseIters` will rewrite
an expression to `IterMarkWithOffset`, where the iter mark (structured
form) has minimum value of zero. During rewriting, when the subexpression
matches a previous rewritten result (`IterMarkWithOffset`), previously
it doesn't correctly add the offset to the result `IterMarkWithOffset`,
and causes inconsistency between the flattened form and the structured
(normal) form.
@tvm-bot
Copy link
Collaborator

tvm-bot commented Aug 15, 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

@quic-sanirudh quic-sanirudh merged commit 760c030 into apache:main Aug 16, 2023
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