-
Notifications
You must be signed in to change notification settings - Fork 13.6k
[AMDGPU] illegal VGPR to SGPR copy with inreg call arguments #107447
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
Labels
Comments
@llvm/issue-subscribers-backend-amdgpu Author: Shilei Tian (shiltian)
Reproducer:
Machine function:
Target/faulty machine instruction:
Command:
This was exposed by #101609 when compiling hip-tests. |
There's another issue here, gfx1030 is still using MUBUF stack ABI but this is clobbering s0/s1 for the argument |
This was referenced Oct 3, 2024
arsenm
added a commit
that referenced
this issue
Oct 3, 2024
We allow tail calls of known uniform function pointers. This would produce a verifier error if the uniform value is in VGPRs. Insert readfirstlanes just in case this occurs, which will fold out later if it is unnecessary. GlobalISel should need a similar fix, but it currently does not attempt tail calls of indirect calls. Fixes #107447 Fixes subissue of #110930
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Reproducer:
Machine function:
Target/faulty machine instruction:
Command:
This was exposed by #101609 when compiling hip-tests.
The text was updated successfully, but these errors were encountered: