-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[TIR] Fix Bug in VectorizeLoop (#17039)
* [TIR] Fix Bug in VectorizeLoop 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. * Add unit test --------- Co-authored-by: tqchen <tianqi.tchen@gmail.com>
- Loading branch information
1 parent
71f7af7
commit 291c047
Showing
2 changed files
with
37 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters