[llvm] [AMDGPU][MC] test update with script for gfx11/gfx12 mc test (PR #135527)
Brox Chen via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 14 12:35:29 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
----------------
broxigarchen wrote:
Hi Joe. The 33 here `:[[@LINE-1]]:33` is the column index of where the error occurred. It's just not quite readable but it would be able to capture if the position changed.
https://github.com/llvm/llvm-project/pull/135527
More information about the llvm-commits
mailing list