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

[TIR] Fix Bug in VectorizeLoop #17039

Merged
merged 2 commits into from
May 30, 2024
Merged

Conversation

CharlieFRuan
Copy link
Contributor

This PR fixes a bug in vectorize loop introduced related to #16966

The visit to condition can write need scalarize to true then the followup visit to then case can trigger an ICHECK.

The visit to let value can also write need scalarize flag in which case we need to immediately scalarize.

tqchen and others added 2 commits May 28, 2024 21:23
This PR fixes a bug in vectorize loop introduced
related to recent change.

The visit to condition can write need scalarize to true
then the followup visit to then case can trigger an ICHECK.

The visit to let value can also write need scalarize flag
in which case we need to immediately scalarize.
@leandron leandron requested review from lhutton1 and ekalda May 29, 2024 08:06
Copy link
Contributor

@lhutton1 lhutton1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fix, apologies for missing it previously!

@tqchen
Copy link
Member

tqchen commented May 29, 2024

@tvm-bot rerun

@tqchen
Copy link
Member

tqchen commented May 29, 2024

@tvm-bot rerun

@ekalda ekalda merged commit 291c047 into apache:main May 30, 2024
19 checks passed
@ekalda
Copy link
Contributor

ekalda commented May 30, 2024

Thanks @tqchen and @CharlieFRuan for the fix!

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