-
Notifications
You must be signed in to change notification settings - Fork 11.7k
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
likely wrong code bug from arm64 backend with global isel enabled #55003
Comments
@llvm/issue-subscribers-backend-arm |
@llvm/issue-subscribers-backend-aarch64 |
1 similar comment
@llvm/issue-subscribers-backend-aarch64 |
@EugeneZelenko concurrency clash, sorry :) |
@nunoplopes: It's fine :-) |
Sounds very interesting. Do you have a link or a paper yet? |
nothing yet, still very much a work in progress. we hope to give a talk at the next LLVM Dev meeting and of course would be happy to discuss in person there or elsewhere |
fwiw 7bddf00 generates the same asm so this is not a regression. |
Seems to be fixed by https://reviews.llvm.org/D125041 |
/cherry-pick 41fef10 |
Failed to cherry-pick: 41fef10 https://github.com/llvm/llvm-project/actions/runs/2821599508 Please manually backport the fix and push it to your github fork. Once this is done, please add a comment like this:
|
The patch landed months ago; it's already in llvm 15. |
here's a function that's part of the LLVM unit test suite:
here's the output we get from LLVM 14 and also top of tree:
this function, called with arguments (0, 4) returns 4, which is not one of the permitted outputs given how undef works. unless we're missing something, permissible outputs are 0, 1, 2.
here's the driver I'm using:
and the output:
this was found using a highly preliminary version of alive2 that does translation validation for the arm64 backend.
cc @nunoplopes @nbushehri @ryan-berger
The text was updated successfully, but these errors were encountered: