[llvm-branch-commits] [llvm] [AMDGPU][NFC] Update MIR tests to use symbolic INLINEASM operands (PR #186839)

Ivan Kosarev via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Tue Mar 17 03:24:57 PDT 2026


================
@@ -1,13 +1,13 @@
 ; NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
-; RUN: llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx908 -O0 -global-isel -stop-after=irtranslator -o - %s | FileCheck %s
+; RUN: llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx908 -O0 -global-isel -stop-after=irtranslator -print-symbolic-inline-asm-ops -o - %s | FileCheck %s
 
 define amdgpu_kernel void @asm_convergent() convergent{
   ; CHECK-LABEL: name: asm_convergent
   ; CHECK: bb.1 (%ir-block.0):
   ; CHECK-NEXT:   liveins: $sgpr8_sgpr9
   ; CHECK-NEXT: {{  $}}
   ; CHECK-NEXT:   [[COPY:%[0-9]+]]:_(p4) = COPY $sgpr8_sgpr9
-  ; CHECK-NEXT:   INLINEASM &s_barrier, 33 /* sideeffect isconvergent attdialect */, !1
+  ; CHECK-NEXT:   INLINEASM &s_barrier, sideeffect isconvergent attdialect, !1
----------------
kosarev wrote:

Maybe we could just drop printing it. `attdialect` is the default, so feels like there's not much value in saying it explicitly.

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


More information about the llvm-branch-commits mailing list