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][test]update error dasm test for update-mc-test-check script #111760

Merged
merged 1 commit into from
Oct 10, 2024

Conversation

broxigarchen
Copy link
Contributor

@broxigarchen broxigarchen commented Oct 9, 2024

The previous error test line is using a 16bit instruction to indicate an error. However this is a poor pick.

The 16bit instructions on AMDGPU is under development and thus, some downstream branches are not showing this exact error message. Changing it to another error dasm code.

@broxigarchen broxigarchen changed the title update error test line [AMDGPU][test]update error dasm test for update-mc-test-check script Oct 9, 2024
@broxigarchen broxigarchen marked this pull request as ready for review October 10, 2024 05:24
@llvmbot
Copy link
Member

llvmbot commented Oct 10, 2024

@llvm/pr-subscribers-backend-amdgpu

Author: Brox Chen (broxigarchen)

Changes

The previous error test line is using a 16bit instruction to indicate an error. However this is a poor pick.

The 16bit instructions on AMDGPU is under development and thus, some downstream branches are not showing this exact error message. Changing it to another error dasm code.


Full diff: https://github.com/llvm/llvm-project/pull/111760.diff

2 Files Affected:

  • (modified) llvm/test/tools/UpdateTestChecks/update_mc_test_checks/Inputs/amdgpu_dasm.txt (+1-1)
  • (modified) llvm/test/tools/UpdateTestChecks/update_mc_test_checks/Inputs/amdgpu_dasm.txt.expected (+1-1)
diff --git a/llvm/test/tools/UpdateTestChecks/update_mc_test_checks/Inputs/amdgpu_dasm.txt b/llvm/test/tools/UpdateTestChecks/update_mc_test_checks/Inputs/amdgpu_dasm.txt
index 9f5fba6e50df25..e8338577cfc47c 100644
--- a/llvm/test/tools/UpdateTestChecks/update_mc_test_checks/Inputs/amdgpu_dasm.txt
+++ b/llvm/test/tools/UpdateTestChecks/update_mc_test_checks/Inputs/amdgpu_dasm.txt
@@ -2,4 +2,4 @@
 
 0x00,0x00,0x00,0x7e
 
-0xfd,0xb8,0x0a,0x7f
+0x00,0x00,0x00,0x01
diff --git a/llvm/test/tools/UpdateTestChecks/update_mc_test_checks/Inputs/amdgpu_dasm.txt.expected b/llvm/test/tools/UpdateTestChecks/update_mc_test_checks/Inputs/amdgpu_dasm.txt.expected
index 1b64695fc29408..a6f7abcb1774ac 100644
--- a/llvm/test/tools/UpdateTestChecks/update_mc_test_checks/Inputs/amdgpu_dasm.txt.expected
+++ b/llvm/test/tools/UpdateTestChecks/update_mc_test_checks/Inputs/amdgpu_dasm.txt.expected
@@ -4,5 +4,5 @@
 0x00,0x00,0x00,0x7e
 # CHECK: v_nop                                   ; encoding: [0x00,0x00,0x00,0x7e]
 
-0xfd,0xb8,0x0a,0x7f
+0x00,0x00,0x00,0x01
 # CHECK: :[[@LINE-1]]:1: warning: invalid instruction encoding

@broxigarchen broxigarchen merged commit e023d02 into llvm:main Oct 10, 2024
11 checks passed
DanielCChen pushed a commit to DanielCChen/llvm-project that referenced this pull request Oct 16, 2024
…lvm#111760)

The previous error test line is using a 16bit instruction to indicate an
error. However this is a poor pick.

The 16bit instructions on AMDGPU is under development and thus, some
downstream branches are not showing this exact error message. Changing
it to another error dasm code.
bricknerb pushed a commit to bricknerb/llvm-project that referenced this pull request Oct 17, 2024
…lvm#111760)

The previous error test line is using a 16bit instruction to indicate an
error. However this is a poor pick.

The 16bit instructions on AMDGPU is under development and thus, some
downstream branches are not showing this exact error message. Changing
it to another error dasm code.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants