-
Notifications
You must be signed in to change notification settings - Fork 12.3k
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
[SLP] SLP Vectorizer miscompile from reducing abs bitwidth #112577
Comments
Do we plan on backporting this to 19.x @alexey-bataev |
/cherry-pick 709abac |
Failed to cherry-pick: 709abac https://github.com/llvm/llvm-project/actions/runs/11419324038 Please manually backport the fix and push it to your github fork. Once this is done, please create a pull request |
/pull-request #113146 |
EricWF
pushed a commit
to efcs/llvm-project
that referenced
this issue
Oct 22, 2024
…t of minbitwidth transformation Need to check that the operand of the abs intrinsic can be safely truncated before making it part of the minbitwidth transformation. Fixes llvm#112577
tru
pushed a commit
to llvmbot/llvm-project
that referenced
this issue
Dec 2, 2024
…t of minbitwidth transformation Need to check that the operand of the abs intrinsic can be safely truncated before making it part of the minbitwidth transformation. Fixes llvm#112577 (cherry picked from commit 709abac)
This was referenced Dec 2, 2024
jabraham17
added a commit
to chapel-lang/chapel
that referenced
this issue
Dec 3, 2024
Backports a fix for llvm/llvm-project#112577 and llvm/llvm-project#118410 to the bundled version of LLVM in our source tree. Resolves #26301 - [x] Tested that the bitwidth bug is resolved with the bundled LLVM on M1 Mac - [x] full paratest with/without gasnet [Reviewed by @mppf]
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bisected miscompile to this change 4a1c53f
Reduced internal test to this example:
https://godbolt.org/z/njWYP9exd
Running slp vectorizer on it gives
which is incorrect. Counterexample by alive2:
https://alive2.llvm.org/ce/z/cEcY-u
The text was updated successfully, but these errors were encountered: