Skip to content

Conversation

@cccxinli
Copy link
Contributor

@cccxinli cccxinli commented Jul 3, 2023

image

Suppose we have a graph as the image shows. In MergeCompilerRegions pass, R1 will merge to R4 because IfNode didn't propagate restriction regions to R3.
This PR supports the propagation of IfNode to avoid the invalid region merging.

@tvm-bot
Copy link
Collaborator

tvm-bot commented Jul 3, 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

@cccxinli
Copy link
Contributor Author

cccxinli commented Jul 6, 2023

cc @zhiics @shingjan

@cccxinli
Copy link
Contributor Author

Hello, @junrushao @Hzfengsy Please help to review this PR.

@Hzfengsy Hzfengsy merged commit e4a1209 into apache:main Jul 11, 2023
@Hzfengsy
Copy link
Member

Thanks @cccxinli for the enhancement

junrushao pushed a commit to junrushao/tvm that referenced this pull request Jul 24, 2023
junrushao pushed a commit to junrushao/tvm that referenced this pull request Jul 27, 2023
junrushao pushed a commit to junrushao/tvm that referenced this pull request Jul 30, 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.

3 participants