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

[AMDGPU] Incorrect error message regarding SCC modifier #65660

Merged
merged 1 commit into from
Sep 8, 2023

Conversation

jwanggit86
Copy link
Contributor

For the AMD GFX90A GPU, the SCC instruction modifier is allowed for certain classes of instructions. However, the current assembler generates an error message, "scc is not supported on this GPU", regardless of the instruciton. This fix modifies the message as well as the logic for generating the message. Related tests are moved from gfx90a_err.s to gfx90a_asm_features.s.

For the AMD GFX90A GPU, the SCC instruction modifier is allowed
for certain classes of instructions. However, the current assembler
generates an error message, "scc is not supported on this GPU",
regardless of the instruciton. This fix modifies the message as well
as the logic for generating the message. Related tests are moved from
gfx90a_err.s to gfx90a_asm_features.s.
@jwanggit86 jwanggit86 requested a review from a team as a code owner September 7, 2023 19:34
@github-actions github-actions bot added the mc Machine (object) code label Sep 7, 2023
@jwanggit86
Copy link
Contributor Author

Already reviewed on Phabricator: https://reviews.llvm.org/D159239

@arsenm
Copy link
Contributor

arsenm commented Sep 7, 2023

Already reviewed on Phabricator: https://reviews.llvm.org/D159239

Can just push that, don't need to re-review here

@jwanggit86 jwanggit86 merged commit 37b5388 into llvm:main Sep 8, 2023
2 checks passed
@jwanggit86 jwanggit86 deleted the fix-asm-scc-error-msg branch September 8, 2023 20:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend:AMDGPU mc Machine (object) code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants