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

r312791 causes SLP vectorizer to miscompile signed int min reductions #33983

Closed
chandlerc opened this issue Sep 15, 2017 · 2 comments
Closed
Labels
bugzilla Issues migrated from bugzilla

Comments

@chandlerc
Copy link
Member

Bugzilla Link 34635
Resolution FIXED
Resolved on Dec 15, 2018 05:59
Version trunk
OS All
Attachments test case
CC @alexey-bataev,@RKSimon
Fixed by commit(s) rL347759

Extended Description

Test case attached. To reproduce:

% llc < slp_test.ll | clang -x assembler - -o slp_test.good && ./slp_test.good
minidx = 5

% opt < slp_test.ll -passes=slp-vectorizer | llc | clang -x assembler - -o slp_test.bad && ./slp_test.bad
minidx = 6

I'm going to revert for now.

@chandlerc
Copy link
Member Author

Reverted in r313409 while the miscompile is investigated. I did look somewhat carefully and for the life of me I can't see why this is miscompiling. =/

@RKSimon
Copy link
Collaborator

RKSimon commented Dec 15, 2018

I'm guessing but this might have been fixed by rL347759

@llvmbot llvmbot transferred this issue from llvm/llvm-bugzilla-archive Dec 10, 2021
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugzilla Issues migrated from bugzilla
Projects
None yet
Development

No branches or pull requests

2 participants