-
Notifications
You must be signed in to change notification settings - Fork 12.4k
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
SLPVectorizer produces use-before-def after 03b118c #70004
Comments
Fixed in d79051f |
This is tagged in the 17.x release. Should this fix be backported? |
Yes |
/cherry-pick d79051f |
Failed to cherry-pick: d79051f https://github.com/llvm/llvm-project/actions/runs/6667820290 Please manually backport the fix and push it to your github fork. Once this is done, please add a comment like this:
|
/branch nikic/llvm-project/slp-backport |
/pull-request llvm/llvm-project-release-prs#764 |
While doing some work internally, we encountered a test case where the SLP Vectorizer pass was creating a use-before-def which we bisected back to change 03b118c.
Consider the following code:
If you build this with opt and run the SLP Vectorizer pass, it generates IR which contains a use of %1 before the definition which then triggers an error about a broken module:
@valerydmit this appears to be a change you made, can you take a look?
The text was updated successfully, but these errors were encountered: