-
Notifications
You must be signed in to change notification settings - Fork 11.9k
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
Tailcall optimization and register preservation produces miscompile #97758
Labels
Comments
@llvm/issue-subscribers-backend-x86 Author: None (gerben-stavenga)
Tailcall optimization moves call out of the push/pop scope to preserve registers
|
Btw. It's not only that it moves the call out of push/pop scope. It also doesn't set up the registers properly it misses the 3rd argument in rdx |
antoniofrighetto
added a commit
to antoniofrighetto/llvm-project
that referenced
this issue
Oct 12, 2024
A miscompilation issue has been addressed with improved checking. Fixes: llvm#97758.
antoniofrighetto
added a commit
to antoniofrighetto/llvm-project
that referenced
this issue
Oct 12, 2024
A miscompilation issue has been addressed with improved checking. Fixes: llvm#97758.
antoniofrighetto
added a commit
to antoniofrighetto/llvm-project
that referenced
this issue
Oct 16, 2024
A miscompilation issue has been addressed with improved checking. Fixes: llvm#97758.
antoniofrighetto
added a commit
to antoniofrighetto/llvm-project
that referenced
this issue
Oct 16, 2024
A miscompilation issue has been addressed with improved checking. Fixes: llvm#97758.
bricknerb
pushed a commit
to bricknerb/llvm-project
that referenced
this issue
Oct 16, 2024
A miscompilation issue has been addressed with improved checking. Fixes: llvm#97758.
bricknerb
pushed a commit
to bricknerb/llvm-project
that referenced
this issue
Oct 17, 2024
A miscompilation issue has been addressed with improved checking. Fixes: llvm#97758.
EricWF
pushed a commit
to efcs/llvm-project
that referenced
this issue
Oct 22, 2024
A miscompilation issue has been addressed with improved checking. Fixes: llvm#97758.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Tailcall optimization moves call out of the push/pop scope to preserve registers
https://godbolt.org/z/1zdnK96z6
The text was updated successfully, but these errors were encountered: