[llvm] AMDGPU/GlobalISel: RegBankLegalize rules for ds_gws ops (PR #190283)
Petar Avramovic via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 3 03:49:58 PDT 2026
================
@@ -106,7 +106,7 @@ define amdgpu_kernel void @gws_barrier_vgpr_offset(i32 %val) #0 {
; NOLOOP-DAG: s_lshl_b32 m0, [[READLANE]], 16
; NOLOOP-DAG: v_mov_b32_e32 [[GWS_VAL:v[0-9]+]], [[BAR_NUM]]
-; NOLOOP: ds_gws_barrier [[GWS_VAL]] offset:3 gds{{$}}
+; NOLOOP: ds_gws_barrier [[GWS_VAL]]{{( offset:3)?}} gds{{$}}
----------------
petar-avramovic wrote:
think it would be best to regenerate this in pre-commit, try using --filter or --filter-out for update_llc_test_checks if you want to make really short checks like here
https://github.com/llvm/llvm-project/pull/190283
More information about the llvm-commits
mailing list