[llvm] [AMDGPU] Autogenerate VOP3 literal checks (PR #156038)

Piotr Sobczak via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 2 05:29:43 PDT 2025


================
@@ -1,404 +1,405 @@
+// NOTE: Assertions have been autogenerated by utils/update_mc_test_checks.py UTC_ARGS: --version 5
+// RUN: not llvm-mc -triple=amdgcn -mcpu=gfx900  -mattr=+wavefrontsize64 -show-encoding %s | FileCheck -check-prefix=GFX9  %s
 // RUN: not llvm-mc -triple=amdgcn -mcpu=gfx1010 -mattr=+wavefrontsize64 -show-encoding %s | FileCheck -check-prefix=GFX10 %s
-// RUN: not llvm-mc -triple=amdgcn -mcpu=gfx900  -show-encoding %s | FileCheck -check-prefix=GFX9 %s
-// RUN: not llvm-mc -triple=amdgcn -mcpu=gfx1010 -mattr=+wavefrontsize64 %s 2>&1 | FileCheck -check-prefix=GFX10-ERR --implicit-check-not=error: %s
-// RUN: not llvm-mc -triple=amdgcn -mcpu=gfx900  %s 2>&1 | FileCheck -check-prefix=GFX9-ERR --implicit-check-not=error: %s
+// RUN: not llvm-mc -triple=amdgcn -mcpu=gfx900  -mattr=+wavefrontsize64 %s -filetype=null 2>&1 | grep -v warning: | FileCheck -check-prefix=GFX9-ERR  -implicit-check-not=error: %s
+// RUN: not llvm-mc -triple=amdgcn -mcpu=gfx1010 -mattr=+wavefrontsize64 %s -filetype=null 2>&1 | grep -v warning: | FileCheck -check-prefix=GFX10-ERR -implicit-check-not=error: %s
----------------
piotrAMD wrote:

Maybe sed could be used instead of grep?
Alternatively, if you really do not want warnings - you could remove them manually (not ideal, as they will re-appear the next time).

https://github.com/llvm/llvm-project/pull/156038


More information about the llvm-commits mailing list