[llvm] [AMDGPU][MC] test update with script for gfx11/gfx12 mc test (PR #135527)
Joe Nash via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 14 12:23:42 PDT 2025
================
@@ -1,108 +1,69 @@
+// NOTE: Assertions have been autogenerated by utils/update_mc_test_checks.py UTC_ARGS: --unique --version 5
// RUN: not llvm-mc -triple=amdgcn -mcpu=gfx1200 -mattr=+wavefrontsize32 -show-encoding %s 2>&1 | FileCheck --check-prefix=GFX12 --strict-whitespace --implicit-check-not=error %s
// RUN: not llvm-mc -triple=amdgcn -mcpu=gfx1200 -mattr=+wavefrontsize64 -show-encoding %s 2>&1 | FileCheck --check-prefix=GFX12 --strict-whitespace --implicit-check-not=error %s
v_permlane16_b32 v5, v1, s2, s3 op_sel:[0, 0, 0, 1]
-// GFX12: :[[@LINE-1]]:{{[0-9]+}}: error: invalid op_sel operand
+// GFX12: :[[@LINE-1]]:33: error: invalid op_sel operand
v_permlanex16_b32 v5, v1, s2, s3 op_sel:[0, 0, 1, 0]
-// GFX12: :[[@LINE-1]]:{{[0-9]+}}: error: invalid op_sel operand
+// GFX12: :[[@LINE-1]]:34: error: invalid op_sel operand
v_permlane16_var_b32 v5, v1, v2 clamp
-// GFX12: error: invalid operand for instruction
-// GFX12-NEXT:{{^}}v_permlane16_var_b32 v5, v1, v2 clamp
-// GFX12-NEXT:{{^}} ^
+// GFX12: :[[@LINE-1]]:33: error: invalid operand for instruction
----------------
Sisyph wrote:
We are losing the position where the error occurred. Can the script be enhanced to output those lines? If not, we might want to skip updating this file and similar ones with it.
https://github.com/llvm/llvm-project/pull/135527
More information about the llvm-commits
mailing list