Skip to content
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

Take zero extent loops as NoOp and remove it #3724

Merged
merged 1 commit into from
Aug 7, 2019

Conversation

umangyadav
Copy link
Contributor

@umangyadav umangyadav commented Aug 7, 2019

  • Checks for zero extent in the loop and remove such loops.
  • Add test case for the same

Use case: loop partition can generate the zero-extent loops which can later be removed by this feature.

Solves #3726

@umangyadav umangyadav changed the title - take zero extent loops as NoOp and remove it Take zero extent loops as NoOp and remove it Aug 7, 2019
@umangyadav
Copy link
Contributor Author

umangyadav commented Aug 7, 2019

@tqchen @derisavi can you please review this? Thanks.

@tqchen tqchen merged commit 3d8b75c into apache:master Aug 7, 2019
@tqchen
Copy link
Member

tqchen commented Aug 7, 2019

THanks @umangyadav !

@umangyadav umangyadav deleted the remove_no_op branch August 7, 2019 20:58
wweic pushed a commit to wweic/tvm that referenced this pull request Aug 9, 2019
wweic pushed a commit to neo-ai/tvm that referenced this pull request Sep 6, 2019
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.

2 participants