Skip to content

Conversation

@slinder1
Copy link
Contributor

No description provided.

@llvmbot
Copy link
Member

llvmbot commented Nov 21, 2025

@llvm/pr-subscribers-llvm-globalisel

@llvm/pr-subscribers-backend-amdgpu

Author: Scott Linder (slinder1)

Changes

Patch is 1.26 MiB, truncated to 20.00 KiB below, full version: https://github.com/llvm/llvm-project/pull/169098.diff

65 Files Affected:

  • (modified) llvm/lib/Target/AMDGPU/SILowerSGPRSpills.cpp (+20)
  • (modified) llvm/test/CodeGen/AMDGPU/GlobalISel/assert-align.ll (+1-1)
  • (modified) llvm/test/CodeGen/AMDGPU/GlobalISel/call-outgoing-stack-args.ll (+4-4)
  • (modified) llvm/test/CodeGen/AMDGPU/GlobalISel/localizer.ll (+1-1)
  • (modified) llvm/test/CodeGen/AMDGPU/abi-attribute-hints-undefined-behavior.ll (+1-1)
  • (modified) llvm/test/CodeGen/AMDGPU/amdgcn-call-whole-wave.ll (+4-4)
  • (modified) llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.1024bit.ll (+2831-2831)
  • (modified) llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.320bit.ll (+22-22)
  • (modified) llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.512bit.ll (+998-998)
  • (modified) llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.768bit.ll (+16-16)
  • (modified) llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.832bit.ll (+36-36)
  • (modified) llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.896bit.ll (+88-88)
  • (modified) llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.960bit.ll (+164-164)
  • (modified) llvm/test/CodeGen/AMDGPU/amdgpu-simplify-libcall-pow-codegen.ll (+140-140)
  • (modified) llvm/test/CodeGen/AMDGPU/attributor-flatscratchinit-undefined-behavior2.ll (+7-6)
  • (modified) llvm/test/CodeGen/AMDGPU/bf16.ll (+92-74)
  • (modified) llvm/test/CodeGen/AMDGPU/branch-relax-spill.ll (+78-78)
  • (modified) llvm/test/CodeGen/AMDGPU/call-args-inreg.ll (+48-48)
  • (modified) llvm/test/CodeGen/AMDGPU/call-argument-types.ll (+20-20)
  • (modified) llvm/test/CodeGen/AMDGPU/call-graph-register-usage.ll (+1-1)
  • (modified) llvm/test/CodeGen/AMDGPU/call-preserved-registers.ll (+58-58)
  • (modified) llvm/test/CodeGen/AMDGPU/callee-frame-setup.ll (+53-53)
  • (modified) llvm/test/CodeGen/AMDGPU/callee-special-input-vgprs-packed.ll (+7-7)
  • (modified) llvm/test/CodeGen/AMDGPU/callee-special-input-vgprs.ll (+7-7)
  • (modified) llvm/test/CodeGen/AMDGPU/cross-block-use-is-not-abi-copy.ll (+4-4)
  • (modified) llvm/test/CodeGen/AMDGPU/debug-frame.ll (+4-4)
  • (modified) llvm/test/CodeGen/AMDGPU/dwarf-multi-register-use-crash.ll (+32-32)
  • (modified) llvm/test/CodeGen/AMDGPU/dynamic-vgpr-reserve-stack-for-cwsr.ll (+2-2)
  • (modified) llvm/test/CodeGen/AMDGPU/fix-frame-reg-in-custom-csr-spills.ll (+1-1)
  • (modified) llvm/test/CodeGen/AMDGPU/frame-setup-without-sgpr-to-vgpr-spills.ll (+5-20)
  • (modified) llvm/test/CodeGen/AMDGPU/function-args-inreg.ll (+4-4)
  • (modified) llvm/test/CodeGen/AMDGPU/gfx-call-non-gfx-func.ll (+72-72)
  • (modified) llvm/test/CodeGen/AMDGPU/gfx-callable-argument-types.ll (+616-618)
  • (modified) llvm/test/CodeGen/AMDGPU/gfx-callable-preserved-registers.ll (+36-36)
  • (modified) llvm/test/CodeGen/AMDGPU/gfx-callable-return-types.ll (+21-21)
  • (modified) llvm/test/CodeGen/AMDGPU/global-alias.ll (+1-1)
  • (modified) llvm/test/CodeGen/AMDGPU/identical-subrange-spill-infloop.ll (+46-46)
  • (modified) llvm/test/CodeGen/AMDGPU/indirect-call.ll (+552-552)
  • (modified) llvm/test/CodeGen/AMDGPU/insert-delay-alu-bug.ll (+1-1)
  • (modified) llvm/test/CodeGen/AMDGPU/insert-waitcnts-crash.ll (+6-6)
  • (modified) llvm/test/CodeGen/AMDGPU/materialize-frame-index-sgpr.ll (+818-816)
  • (modified) llvm/test/CodeGen/AMDGPU/mul24-pass-ordering.ll (+10-10)
  • (modified) llvm/test/CodeGen/AMDGPU/need-fp-from-vgpr-spills.ll (+3-3)
  • (modified) llvm/test/CodeGen/AMDGPU/nested-calls.ll (+2-2)
  • (modified) llvm/test/CodeGen/AMDGPU/no-source-locations-in-prologue.ll (+1-1)
  • (modified) llvm/test/CodeGen/AMDGPU/preserve-wwm-copy-dst-reg.ll (+5-20)
  • (modified) llvm/test/CodeGen/AMDGPU/s-getpc-b64-remat.ll (+3-3)
  • (modified) llvm/test/CodeGen/AMDGPU/sgpr-spill-overlap-wwm-reserve.mir (+95-95)
  • (modified) llvm/test/CodeGen/AMDGPU/sgpr-spills-split-regalloc.ll (+6-21)
  • (modified) llvm/test/CodeGen/AMDGPU/shufflevector.v2i64.v8i64.ll (+160-139)
  • (modified) llvm/test/CodeGen/AMDGPU/si-lower-sgpr-spills-vgpr-lanes-usage.mir (+9-9)
  • (modified) llvm/test/CodeGen/AMDGPU/sibling-call.ll (+111-111)
  • (modified) llvm/test/CodeGen/AMDGPU/stack-realign.ll (+1-1)
  • (modified) llvm/test/CodeGen/AMDGPU/stacksave_stackrestore.ll (+5-5)
  • (modified) llvm/test/CodeGen/AMDGPU/strictfp_f16_abi_promote.ll (+7-7)
  • (modified) llvm/test/CodeGen/AMDGPU/swdev504645-global-fold.ll (+2-1)
  • (modified) llvm/test/CodeGen/AMDGPU/tail-call-inreg-arguments.error.ll (+2-2)
  • (modified) llvm/test/CodeGen/AMDGPU/unfold-masked-merge-scalar-variablemask.ll (+20-18)
  • (modified) llvm/test/CodeGen/AMDGPU/unstructured-cfg-def-use-issue.ll (+84-84)
  • (modified) llvm/test/CodeGen/AMDGPU/vgpr-tuple-allocation.ll (+6-6)
  • (modified) llvm/test/CodeGen/AMDGPU/wave32.ll (+2-2)
  • (modified) llvm/test/CodeGen/AMDGPU/whole-wave-functions.ll (+10-10)
  • (modified) llvm/test/CodeGen/AMDGPU/whole-wave-register-copy.ll (+1-1)
  • (modified) llvm/test/CodeGen/AMDGPU/whole-wave-register-spill.ll (+2-2)
  • (modified) llvm/test/CodeGen/AMDGPU/wwm-reserved-spill.ll (+4-4)
diff --git a/llvm/lib/Target/AMDGPU/SILowerSGPRSpills.cpp b/llvm/lib/Target/AMDGPU/SILowerSGPRSpills.cpp
index 40eeeb8a8630d..057a5e2df8bf7 100644
--- a/llvm/lib/Target/AMDGPU/SILowerSGPRSpills.cpp
+++ b/llvm/lib/Target/AMDGPU/SILowerSGPRSpills.cpp
@@ -268,11 +268,19 @@ bool SILowerSGPRSpills::spillCalleeSavedRegs(
 
     std::vector<CalleeSavedInfo> CSI;
     const MCPhysReg *CSRegs = MRI.getCalleeSavedRegs();
+    Register RetAddrReg = TRI->getReturnAddressReg(MF);
+    bool SpillRetAddrReg = false;
 
     for (unsigned I = 0; CSRegs[I]; ++I) {
       MCRegister Reg = CSRegs[I];
 
       if (SavedRegs.test(Reg)) {
+        if (Reg == TRI->getSubReg(RetAddrReg, AMDGPU::sub0) ||
+            Reg == TRI->getSubReg(RetAddrReg, AMDGPU::sub1)) {
+          SpillRetAddrReg = true;
+          continue;
+        }
+
         const TargetRegisterClass *RC =
           TRI->getMinimalPhysRegClass(Reg, MVT::i32);
         int JunkFI = MFI.CreateStackObject(TRI->getSpillSize(*RC),
@@ -283,6 +291,18 @@ bool SILowerSGPRSpills::spillCalleeSavedRegs(
       }
     }
 
+    // Return address uses a register pair. Add the super register to the
+    // CSI list so that it's easier to identify the entire spill and CFI
+    // can be emitted appropriately.
+    if (SpillRetAddrReg) {
+      const TargetRegisterClass *RC =
+          TRI->getMinimalPhysRegClass(RetAddrReg, MVT::i64);
+      int JunkFI = MFI.CreateStackObject(TRI->getSpillSize(*RC),
+                                         TRI->getSpillAlign(*RC), true);
+      CSI.push_back(CalleeSavedInfo(RetAddrReg, JunkFI));
+      CalleeSavedFIs.push_back(JunkFI);
+    }
+
     if (!CSI.empty()) {
       for (MachineBasicBlock *SaveBlock : SaveBlocks)
         insertCSRSaves(*SaveBlock, CSI, Indexes, LIS);
diff --git a/llvm/test/CodeGen/AMDGPU/GlobalISel/assert-align.ll b/llvm/test/CodeGen/AMDGPU/GlobalISel/assert-align.ll
index b84b31cd2702c..023398377de94 100644
--- a/llvm/test/CodeGen/AMDGPU/GlobalISel/assert-align.ll
+++ b/llvm/test/CodeGen/AMDGPU/GlobalISel/assert-align.ll
@@ -23,10 +23,10 @@ define ptr addrspace(1) @call_assert_align() {
 ; CHECK-NEXT:    v_writelane_b32 v40, s31, 1
 ; CHECK-NEXT:    s_swappc_b64 s[30:31], s[16:17]
 ; CHECK-NEXT:    v_mov_b32_e32 v2, 0
+; CHECK-NEXT:    v_readlane_b32 s30, v40, 0
 ; CHECK-NEXT:    global_store_dword v[0:1], v2, off
 ; CHECK-NEXT:    s_waitcnt vmcnt(0)
 ; CHECK-NEXT:    v_readlane_b32 s31, v40, 1
-; CHECK-NEXT:    v_readlane_b32 s30, v40, 0
 ; CHECK-NEXT:    s_mov_b32 s32, s33
 ; CHECK-NEXT:    v_readlane_b32 s4, v40, 2
 ; CHECK-NEXT:    s_or_saveexec_b64 s[6:7], -1
diff --git a/llvm/test/CodeGen/AMDGPU/GlobalISel/call-outgoing-stack-args.ll b/llvm/test/CodeGen/AMDGPU/GlobalISel/call-outgoing-stack-args.ll
index 7e6f500181ec6..2c1beb8468576 100644
--- a/llvm/test/CodeGen/AMDGPU/GlobalISel/call-outgoing-stack-args.ll
+++ b/llvm/test/CodeGen/AMDGPU/GlobalISel/call-outgoing-stack-args.ll
@@ -238,8 +238,8 @@ define void @func_caller_stack() #2 {
 ; MUBUF-NEXT:    v_writelane_b32 v40, s31, 1
 ; MUBUF-NEXT:    buffer_store_dword v0, off, s[0:3], s32 offset:16
 ; MUBUF-NEXT:    s_swappc_b64 s[30:31], s[4:5]
-; MUBUF-NEXT:    v_readlane_b32 s31, v40, 1
 ; MUBUF-NEXT:    v_readlane_b32 s30, v40, 0
+; MUBUF-NEXT:    v_readlane_b32 s31, v40, 1
 ; MUBUF-NEXT:    s_mov_b32 s32, s33
 ; MUBUF-NEXT:    v_readlane_b32 s4, v40, 2
 ; MUBUF-NEXT:    s_or_saveexec_b64 s[6:7], -1
@@ -277,8 +277,8 @@ define void @func_caller_stack() #2 {
 ; FLATSCR-NEXT:    s_addc_u32 s1, s1, external_void_func_v16i32_v16i32_v4i32@rel32@hi+12
 ; FLATSCR-NEXT:    v_writelane_b32 v40, s31, 1
 ; FLATSCR-NEXT:    s_swappc_b64 s[30:31], s[0:1]
-; FLATSCR-NEXT:    v_readlane_b32 s31, v40, 1
 ; FLATSCR-NEXT:    v_readlane_b32 s30, v40, 0
+; FLATSCR-NEXT:    v_readlane_b32 s31, v40, 1
 ; FLATSCR-NEXT:    s_mov_b32 s32, s33
 ; FLATSCR-NEXT:    v_readlane_b32 s0, v40, 2
 ; FLATSCR-NEXT:    s_or_saveexec_b64 s[2:3], -1
@@ -363,8 +363,8 @@ define void @func_caller_byval(ptr addrspace(5) %argptr) #2 {
 ; MUBUF-NEXT:    s_waitcnt vmcnt(1)
 ; MUBUF-NEXT:    buffer_store_dword v2, off, s[0:3], s32 offset:60
 ; MUBUF-NEXT:    s_swappc_b64 s[30:31], s[4:5]
-; MUBUF-NEXT:    v_readlane_b32 s31, v40, 1
 ; MUBUF-NEXT:    v_readlane_b32 s30, v40, 0
+; MUBUF-NEXT:    v_readlane_b32 s31, v40, 1
 ; MUBUF-NEXT:    s_mov_b32 s32, s33
 ; MUBUF-NEXT:    v_readlane_b32 s4, v40, 2
 ; MUBUF-NEXT:    s_or_saveexec_b64 s[6:7], -1
@@ -414,8 +414,8 @@ define void @func_caller_byval(ptr addrspace(5) %argptr) #2 {
 ; FLATSCR-NEXT:    s_waitcnt vmcnt(0)
 ; FLATSCR-NEXT:    scratch_store_dwordx2 off, v[0:1], s32 offset:56
 ; FLATSCR-NEXT:    s_swappc_b64 s[30:31], s[0:1]
-; FLATSCR-NEXT:    v_readlane_b32 s31, v40, 1
 ; FLATSCR-NEXT:    v_readlane_b32 s30, v40, 0
+; FLATSCR-NEXT:    v_readlane_b32 s31, v40, 1
 ; FLATSCR-NEXT:    s_mov_b32 s32, s33
 ; FLATSCR-NEXT:    v_readlane_b32 s0, v40, 2
 ; FLATSCR-NEXT:    s_or_saveexec_b64 s[2:3], -1
diff --git a/llvm/test/CodeGen/AMDGPU/GlobalISel/localizer.ll b/llvm/test/CodeGen/AMDGPU/GlobalISel/localizer.ll
index 72766f47030cc..35591cd602992 100644
--- a/llvm/test/CodeGen/AMDGPU/GlobalISel/localizer.ll
+++ b/llvm/test/CodeGen/AMDGPU/GlobalISel/localizer.ll
@@ -244,8 +244,8 @@ define void @sink_null_insert_pt(ptr addrspace(4) %arg0) #0 {
 ; GFX9-NEXT:    s_addk_i32 s32, 0x400
 ; GFX9-NEXT:    v_writelane_b32 v40, s31, 1
 ; GFX9-NEXT:    s_swappc_b64 s[30:31], 0
-; GFX9-NEXT:    v_readlane_b32 s31, v40, 1
 ; GFX9-NEXT:    v_readlane_b32 s30, v40, 0
+; GFX9-NEXT:    v_readlane_b32 s31, v40, 1
 ; GFX9-NEXT:    s_mov_b32 s32, s33
 ; GFX9-NEXT:    v_readlane_b32 s4, v40, 2
 ; GFX9-NEXT:    s_or_saveexec_b64 s[6:7], -1
diff --git a/llvm/test/CodeGen/AMDGPU/abi-attribute-hints-undefined-behavior.ll b/llvm/test/CodeGen/AMDGPU/abi-attribute-hints-undefined-behavior.ll
index 3194581fa4213..0e24430e7be20 100644
--- a/llvm/test/CodeGen/AMDGPU/abi-attribute-hints-undefined-behavior.ll
+++ b/llvm/test/CodeGen/AMDGPU/abi-attribute-hints-undefined-behavior.ll
@@ -30,8 +30,8 @@ define void @parent_func_missing_inputs() #0 {
 ; FIXEDABI-NEXT:    s_addc_u32 s17, s17, requires_all_inputs@rel32@hi+12
 ; FIXEDABI-NEXT:    v_writelane_b32 v40, s31, 1
 ; FIXEDABI-NEXT:    s_swappc_b64 s[30:31], s[16:17]
-; FIXEDABI-NEXT:    v_readlane_b32 s31, v40, 1
 ; FIXEDABI-NEXT:    v_readlane_b32 s30, v40, 0
+; FIXEDABI-NEXT:    v_readlane_b32 s31, v40, 1
 ; FIXEDABI-NEXT:    s_mov_b32 s32, s33
 ; FIXEDABI-NEXT:    v_readlane_b32 s4, v40, 2
 ; FIXEDABI-NEXT:    s_or_saveexec_b64 s[6:7], -1
diff --git a/llvm/test/CodeGen/AMDGPU/amdgcn-call-whole-wave.ll b/llvm/test/CodeGen/AMDGPU/amdgcn-call-whole-wave.ll
index 149b0cb4e052d..b6e65c8842904 100644
--- a/llvm/test/CodeGen/AMDGPU/amdgcn-call-whole-wave.ll
+++ b/llvm/test/CodeGen/AMDGPU/amdgcn-call-whole-wave.ll
@@ -35,8 +35,8 @@ define amdgpu_gfx void @basic_test(i32 %x, i32 inreg %c, ptr addrspace(1) %ptr)
 ; DAGISEL-NEXT:    s_clause 0x1
 ; DAGISEL-NEXT:    scratch_load_b32 v41, off, s33
 ; DAGISEL-NEXT:    scratch_load_b32 v40, off, s33 offset:4
-; DAGISEL-NEXT:    v_readlane_b32 s31, v42, 1
 ; DAGISEL-NEXT:    v_readlane_b32 s30, v42, 0
+; DAGISEL-NEXT:    v_readlane_b32 s31, v42, 1
 ; DAGISEL-NEXT:    s_mov_b32 s32, s33
 ; DAGISEL-NEXT:    v_readlane_b32 s0, v42, 2
 ; DAGISEL-NEXT:    s_or_saveexec_b32 s1, -1
@@ -78,8 +78,8 @@ define amdgpu_gfx void @basic_test(i32 %x, i32 inreg %c, ptr addrspace(1) %ptr)
 ; GISEL-NEXT:    s_clause 0x1
 ; GISEL-NEXT:    scratch_load_b32 v41, off, s33
 ; GISEL-NEXT:    scratch_load_b32 v40, off, s33 offset:4
-; GISEL-NEXT:    v_readlane_b32 s31, v42, 1
 ; GISEL-NEXT:    v_readlane_b32 s30, v42, 0
+; GISEL-NEXT:    v_readlane_b32 s31, v42, 1
 ; GISEL-NEXT:    s_mov_b32 s32, s33
 ; GISEL-NEXT:    v_readlane_b32 s0, v42, 2
 ; GISEL-NEXT:    s_or_saveexec_b32 s1, -1
@@ -787,8 +787,8 @@ define amdgpu_gfx void @ret_void(i32 %x) #0 {
 ; DAGISEL-NEXT:    s_wait_alu 0xfffe
 ; DAGISEL-NEXT:    s_swappc_b64 s[30:31], s[0:1]
 ; DAGISEL-NEXT:    s_delay_alu instid0(VALU_DEP_1)
-; DAGISEL-NEXT:    v_readlane_b32 s31, v40, 1
 ; DAGISEL-NEXT:    v_readlane_b32 s30, v40, 0
+; DAGISEL-NEXT:    v_readlane_b32 s31, v40, 1
 ; DAGISEL-NEXT:    s_mov_b32 s32, s33
 ; DAGISEL-NEXT:    v_readlane_b32 s0, v40, 2
 ; DAGISEL-NEXT:    s_or_saveexec_b32 s1, -1
@@ -822,8 +822,8 @@ define amdgpu_gfx void @ret_void(i32 %x) #0 {
 ; GISEL-NEXT:    s_wait_alu 0xfffe
 ; GISEL-NEXT:    s_swappc_b64 s[30:31], s[0:1]
 ; GISEL-NEXT:    s_delay_alu instid0(VALU_DEP_1)
-; GISEL-NEXT:    v_readlane_b32 s31, v40, 1
 ; GISEL-NEXT:    v_readlane_b32 s30, v40, 0
+; GISEL-NEXT:    v_readlane_b32 s31, v40, 1
 ; GISEL-NEXT:    s_mov_b32 s32, s33
 ; GISEL-NEXT:    v_readlane_b32 s0, v40, 2
 ; GISEL-NEXT:    s_or_saveexec_b32 s1, -1
diff --git a/llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.1024bit.ll b/llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.1024bit.ll
index c794168c40075..1e2a46fcefa36 100644
--- a/llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.1024bit.ll
+++ b/llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.1024bit.ll
@@ -7466,42 +7466,42 @@ define inreg <128 x i8> @bitcast_v32i32_to_v128i8_scalar(<32 x i32> inreg %a, i3
 ; SI-NEXT:    buffer_store_dword v22, off, s[0:3], s32 offset:8 ; 4-byte Folded Spill
 ; SI-NEXT:    s_mov_b64 exec, s[4:5]
 ; SI-NEXT:    s_waitcnt expcnt(2)
-; SI-NEXT:    v_writelane_b32 v20, s30, 0
-; SI-NEXT:    v_writelane_b32 v20, s31, 1
-; SI-NEXT:    v_writelane_b32 v20, s34, 2
-; SI-NEXT:    v_writelane_b32 v20, s35, 3
-; SI-NEXT:    v_writelane_b32 v20, s36, 4
-; SI-NEXT:    v_writelane_b32 v20, s37, 5
-; SI-NEXT:    v_writelane_b32 v20, s38, 6
-; SI-NEXT:    v_writelane_b32 v20, s39, 7
-; SI-NEXT:    v_writelane_b32 v20, s48, 8
-; SI-NEXT:    v_writelane_b32 v20, s49, 9
-; SI-NEXT:    v_writelane_b32 v20, s50, 10
-; SI-NEXT:    v_writelane_b32 v20, s51, 11
-; SI-NEXT:    v_writelane_b32 v20, s52, 12
-; SI-NEXT:    v_writelane_b32 v20, s53, 13
-; SI-NEXT:    v_writelane_b32 v20, s54, 14
-; SI-NEXT:    v_writelane_b32 v20, s55, 15
-; SI-NEXT:    v_writelane_b32 v20, s64, 16
-; SI-NEXT:    v_writelane_b32 v20, s65, 17
-; SI-NEXT:    v_writelane_b32 v20, s66, 18
-; SI-NEXT:    v_writelane_b32 v20, s67, 19
-; SI-NEXT:    v_writelane_b32 v20, s68, 20
-; SI-NEXT:    v_writelane_b32 v20, s69, 21
-; SI-NEXT:    v_writelane_b32 v20, s70, 22
-; SI-NEXT:    v_writelane_b32 v20, s71, 23
-; SI-NEXT:    v_writelane_b32 v20, s80, 24
-; SI-NEXT:    v_writelane_b32 v20, s81, 25
-; SI-NEXT:    v_writelane_b32 v20, s82, 26
-; SI-NEXT:    v_writelane_b32 v20, s83, 27
-; SI-NEXT:    v_writelane_b32 v20, s84, 28
-; SI-NEXT:    v_writelane_b32 v20, s85, 29
-; SI-NEXT:    v_writelane_b32 v20, s86, 30
-; SI-NEXT:    v_writelane_b32 v20, s87, 31
-; SI-NEXT:    v_writelane_b32 v20, s96, 32
-; SI-NEXT:    v_writelane_b32 v20, s97, 33
+; SI-NEXT:    v_writelane_b32 v20, s34, 0
+; SI-NEXT:    v_writelane_b32 v20, s35, 1
+; SI-NEXT:    v_writelane_b32 v20, s36, 2
+; SI-NEXT:    v_writelane_b32 v20, s37, 3
+; SI-NEXT:    v_writelane_b32 v20, s38, 4
+; SI-NEXT:    v_writelane_b32 v20, s39, 5
+; SI-NEXT:    v_writelane_b32 v20, s48, 6
+; SI-NEXT:    v_writelane_b32 v20, s49, 7
+; SI-NEXT:    v_writelane_b32 v20, s50, 8
+; SI-NEXT:    v_writelane_b32 v20, s51, 9
+; SI-NEXT:    v_writelane_b32 v20, s52, 10
+; SI-NEXT:    v_writelane_b32 v20, s53, 11
+; SI-NEXT:    v_writelane_b32 v20, s54, 12
+; SI-NEXT:    v_writelane_b32 v20, s55, 13
+; SI-NEXT:    v_writelane_b32 v20, s64, 14
+; SI-NEXT:    v_writelane_b32 v20, s65, 15
+; SI-NEXT:    v_writelane_b32 v20, s66, 16
+; SI-NEXT:    v_writelane_b32 v20, s67, 17
+; SI-NEXT:    v_writelane_b32 v20, s68, 18
+; SI-NEXT:    v_writelane_b32 v20, s69, 19
+; SI-NEXT:    v_writelane_b32 v20, s70, 20
+; SI-NEXT:    v_writelane_b32 v20, s71, 21
+; SI-NEXT:    v_writelane_b32 v20, s80, 22
+; SI-NEXT:    v_writelane_b32 v20, s81, 23
+; SI-NEXT:    v_writelane_b32 v20, s82, 24
+; SI-NEXT:    v_writelane_b32 v20, s83, 25
+; SI-NEXT:    v_writelane_b32 v20, s84, 26
+; SI-NEXT:    v_writelane_b32 v20, s85, 27
+; SI-NEXT:    v_writelane_b32 v20, s86, 28
+; SI-NEXT:    v_writelane_b32 v20, s87, 29
+; SI-NEXT:    v_writelane_b32 v20, s96, 30
+; SI-NEXT:    v_writelane_b32 v20, s97, 31
+; SI-NEXT:    v_writelane_b32 v20, s98, 32
+; SI-NEXT:    v_writelane_b32 v20, s99, 33
 ; SI-NEXT:    v_cmp_ne_u32_e32 vcc, 0, v19
-; SI-NEXT:    v_writelane_b32 v20, s98, 34
+; SI-NEXT:    v_writelane_b32 v20, s30, 34
 ; SI-NEXT:    v_readfirstlane_b32 s44, v1
 ; SI-NEXT:    v_readfirstlane_b32 s45, v2
 ; SI-NEXT:    v_readfirstlane_b32 s42, v3
@@ -7521,7 +7521,7 @@ define inreg <128 x i8> @bitcast_v32i32_to_v128i8_scalar(<32 x i32> inreg %a, i3
 ; SI-NEXT:    v_readfirstlane_b32 s4, v17
 ; SI-NEXT:    s_and_b64 s[46:47], vcc, exec
 ; SI-NEXT:    v_readfirstlane_b32 s5, v18
-; SI-NEXT:    v_writelane_b32 v20, s99, 35
+; SI-NEXT:    v_writelane_b32 v20, s31, 35
 ; SI-NEXT:    ; implicit-def: $vgpr22 : SGPR spill to VGPR lane
 ; SI-NEXT:    ; implicit-def: $vgpr21 : SGPR spill to VGPR lane
 ; SI-NEXT:    s_cbranch_scc0 .LBB13_4
@@ -8391,6 +8391,7 @@ define inreg <128 x i8> @bitcast_v32i32_to_v128i8_scalar(<32 x i32> inreg %a, i3
 ; SI-NEXT:    buffer_store_dword v2, v1, s[0:3], 0 offen
 ; SI-NEXT:    v_add_i32_e32 v0, vcc, 0x7c, v0
 ; SI-NEXT:    v_mov_b32_e32 v1, s4
+; SI-NEXT:    v_readlane_b32 s30, v20, 34
 ; SI-NEXT:    v_readlane_b32 s19, v22, 11
 ; SI-NEXT:    v_readlane_b32 s17, v22, 17
 ; SI-NEXT:    v_readlane_b32 s15, v22, 23
@@ -8398,42 +8399,41 @@ define inreg <128 x i8> @bitcast_v32i32_to_v128i8_scalar(<32 x i32> inreg %a, i3
 ; SI-NEXT:    v_readlane_b32 s11, v22, 35
 ; SI-NEXT:    v_readlane_b32 s9, v22, 41
 ; SI-NEXT:    buffer_store_dword v1, v0, s[0:3], 0 offen
-; SI-NEXT:    v_readlane_b32 s99, v20, 35
-; SI-NEXT:    v_readlane_b32 s98, v20, 34
-; SI-NEXT:    v_readlane_b32 s97, v20, 33
-; SI-NEXT:    v_readlane_b32 s96, v20, 32
-; SI-NEXT:    v_readlane_b32 s87, v20, 31
-; SI-NEXT:    v_readlane_b32 s86, v20, 30
-; SI-NEXT:    v_readlane_b32 s85, v20, 29
-; SI-NEXT:    v_readlane_b32 s84, v20, 28
-; SI-NEXT:    v_readlane_b32 s83, v20, 27
-; SI-NEXT:    v_readlane_b32 s82, v20, 26
-; SI-NEXT:    v_readlane_b32 s81, v20, 25
-; SI-NEXT:    v_readlane_b32 s80, v20, 24
-; SI-NEXT:    v_readlane_b32 s71, v20, 23
-; SI-NEXT:    v_readlane_b32 s70, v20, 22
-; SI-NEXT:    v_readlane_b32 s69, v20, 21
-; SI-NEXT:    v_readlane_b32 s68, v20, 20
-; SI-NEXT:    v_readlane_b32 s67, v20, 19
-; SI-NEXT:    v_readlane_b32 s66, v20, 18
-; SI-NEXT:    v_readlane_b32 s65, v20, 17
-; SI-NEXT:    v_readlane_b32 s64, v20, 16
-; SI-NEXT:    v_readlane_b32 s55, v20, 15
-; SI-NEXT:    v_readlane_b32 s54, v20, 14
-; SI-NEXT:    v_readlane_b32 s53, v20, 13
-; SI-NEXT:    v_readlane_b32 s52, v20, 12
-; SI-NEXT:    v_readlane_b32 s51, v20, 11
-; SI-NEXT:    v_readlane_b32 s50, v20, 10
-; SI-NEXT:    v_readlane_b32 s49, v20, 9
-; SI-NEXT:    v_readlane_b32 s48, v20, 8
-; SI-NEXT:    v_readlane_b32 s39, v20, 7
-; SI-NEXT:    v_readlane_b32 s38, v20, 6
-; SI-NEXT:    v_readlane_b32 s37, v20, 5
-; SI-NEXT:    v_readlane_b32 s36, v20, 4
-; SI-NEXT:    v_readlane_b32 s35, v20, 3
-; SI-NEXT:    v_readlane_b32 s34, v20, 2
-; SI-NEXT:    v_readlane_b32 s31, v20, 1
-; SI-NEXT:    v_readlane_b32 s30, v20, 0
+; SI-NEXT:    v_readlane_b32 s31, v20, 35
+; SI-NEXT:    v_readlane_b32 s99, v20, 33
+; SI-NEXT:    v_readlane_b32 s98, v20, 32
+; SI-NEXT:    v_readlane_b32 s97, v20, 31
+; SI-NEXT:    v_readlane_b32 s96, v20, 30
+; SI-NEXT:    v_readlane_b32 s87, v20, 29
+; SI-NEXT:    v_readlane_b32 s86, v20, 28
+; SI-NEXT:    v_readlane_b32 s85, v20, 27
+; SI-NEXT:    v_readlane_b32 s84, v20, 26
+; SI-NEXT:    v_readlane_b32 s83, v20, 25
+; SI-NEXT:    v_readlane_b32 s82, v20, 24
+; SI-NEXT:    v_readlane_b32 s81, v20, 23
+; SI-NEXT:    v_readlane_b32 s80, v20, 22
+; SI-NEXT:    v_readlane_b32 s71, v20, 21
+; SI-NEXT:    v_readlane_b32 s70, v20, 20
+; SI-NEXT:    v_readlane_b32 s69, v20, 19
+; SI-NEXT:    v_readlane_b32 s68, v20, 18
+; SI-NEXT:    v_readlane_b32 s67, v20, 17
+; SI-NEXT:    v_readlane_b32 s66, v20, 16
+; SI-NEXT:    v_readlane_b32 s65, v20, 15
+; SI-NEXT:    v_readlane_b32 s64, v20, 14
+; SI-NEXT:    v_readlane_b32 s55, v20, 13
+; SI-NEXT:    v_readlane_b32 s54, v20, 12
+; SI-NEXT:    v_readlane_b32 s53, v20, 11
+; SI-NEXT:    v_readlane_b32 s52, v20, 10
+; SI-NEXT:    v_readlane_b32 s51, v20, 9
+; SI-NEXT:    v_readlane_b32 s50, v20, 8
+; SI-NEXT:    v_readlane_b32 s49, v20, 7
+; SI-NEXT:    v_readlane_b32 s48, v20, 6
+; SI-NEXT:    v_readlane_b32 s39, v20, 5
+; SI-NEXT:    v_readlane_b32 s38, v20, 4
+; SI-NEXT:    v_readlane_b32 s37, v20, 3
+; SI-NEXT:    v_readlane_b32 s36, v20, 2
+; SI-NEXT:    v_readlane_b32 s35, v20, 1
+; SI-NEXT:    v_readlane_b32 s34, v20, 0
 ; SI-NEXT:    s_xor_saveexec_b64 s[4:5], -1
 ; SI-NEXT:    buffer_load_dword v20, off, s[0:3], s32 ; 4-byte Folded Reload
 ; SI-NEXT:    buffer_load_dword v21, off, s[0:3], s32 offset:4 ; 4-byte Folded Reload
@@ -8630,38 +8630,38 @@ define inreg <128 x i8> @bitcast_v32i32_to_v128i8_scalar(<32 x i32> inreg %a, i3
 ; VI-NEXT:    buffer_store_dword v20, off, s[0:3], s32 ; 4-byte Folded Spill
 ; VI-NEXT:    buffer_store_dword v21, off, s[0:3], s32 offset:4 ; 4-byte Folded Spill
 ; VI-NEXT:    s_mov_b64 exec, s[4:5]
-; VI-NEXT:    v_writelane_b32 v20, s30, 0
-; VI-NEXT:    v_writelane_b32 v20, s31, 1
-; VI-NEXT:    v_writelane_b32 v20, s34, 2
-; VI-NEXT:    v_writelane_b32 v20, s35, 3
-; VI-NEXT:    v_writelane_b32 v20, s36, 4
-; VI-NEXT:    v_writelane_b32 v20, s37, 5
-; VI-NEXT:    v_writelane_b32 v20, s38, 6
-; VI-NEXT:    v_writelane_b32 v20, s39, 7
-; VI-NEXT:    v_writelane_b32 v20, s48, 8
-; VI-NEXT:    v_writelane_b32 v20, s49, 9
-; VI-NEXT:    v_writelane_b32 v20, s50, 10
-; VI-NEXT:    v_writelane_b32 v20, s51, 11
-; VI-NEXT:    v_writelane_b32 v20, s52, 12
-; VI-NEXT:    v_writelane_b32 v20, s53, 13
-; VI-NEXT:    v_writelane_b32 v20, s54, 14
-; VI-NEXT:    v_writelane_b32 v20, s55, 15
-; VI-NEXT:    v_writelane_b32 v20, s64, 16
-; VI-NEXT:    v_writelane_b32 v20, s65, 17
-; VI-NEXT:    v_writelane_b32 v20, s66, 18
-; VI-NEXT:    v_writelane_b32 v20, s67, 19
-; VI-NEXT:    v_writelane_b32 v20, s68, 20
-; VI-NEXT:    v_writelane_b32 v20, s69, 21
-; VI-NEXT:    v_writelane_b32 v20, s70, 22
-; VI-NEXT:    v_writelane_b32 v20, s71, 23
-; VI-NEXT:    v_writelane_b32 v20, s80, 24
-; VI-NEXT:    v_writelane_b32 v20, s81, 25
-; VI-NEXT:    v_writelane_b32 v20, s82, 26
-; VI-NEXT:    v_writelane_b32 v20, s83, 27
-; VI-NEXT:    v_writelane_b32 v20, s84, 28
-; VI-NEXT:    v_writelane_b32 v20, s85, 29
+; VI-NEXT:    v_writelane_b32 v20, s34, 0
+; VI-NEXT:    v_writelane_b32 v20, s35, 1
+; VI-NEXT:    v_writelane_b32 v20, s36, 2
+; VI-NEXT:    v_writelane_b32 v20, s37, 3
+; VI-NEXT:    v_writelane_b32 v20, s38, 4
+; VI-NEXT:    v_writelane_b32 v20, s39, 5
+; VI-NEXT:    v_writelane_b32 v20, s48, 6
+; VI-NEXT:    v_writelane_b32 v20, s49, 7
+; VI-NEXT:    v_writelane_b32 v20, s50, 8
+; VI-NEXT:    v_writelane_b32 v20, s51, 9
+; VI-NEXT:    v_writelane_b32 v20, s52, 10
+; VI-NEXT:    v_writelane_b32 v20, s53, 11
+; VI-NEXT:    v_writelane_b32 v20, s54, 12
+; VI-NEXT:    v_writelane_b32 v20, s55, 13
+; VI-NEXT:    v_writelane_b32 v20, s64, 14
+; VI-NEXT:    v_writelane_b32 v20, s65, 15
+; VI-NEXT:    v_writelane_b32 v20, s66, 16
+; VI-NEXT:    v_writelane_b32 v20, s67, 17
+; VI-NEXT:    v_writelane_b32 v20, s68, 18
+; VI-NEXT:    v_writelane_b32 v20, s69, 19
+; VI-NEXT:    v_writelane_b32 v20, s70, 20
+; VI-NEXT:    v_writelane_b32 v20, s71, 21
+; VI-NEXT:    v_writelane_b32 v20, s80, 22
+; VI-NEXT:    v_writelane_b32 v20, s81, 23
+; VI-NEXT:    v_writelane_b32 v20, s82, 24
+; VI-NEXT:    v_writelane_b32 v20, s83, 25
+; VI-NEXT:    v_writelane_b32 v20, s84, 26
+; VI-NEXT:    v_writelane_b32 v20, s85, 27
+; VI-NEXT:    v_writelane_b32 v20, s86, 28
+; VI-NEXT:    v_writelane_b32 v20, s87, 29
 ; VI-NEXT:    v_cmp_ne_u32_e32 vcc, 0, v19
-; VI-NEXT:    v_writelane_b32 v20, s86, 30
+; VI-NEXT:    v_writelane_b32 v20, s30, 30
 ; VI-NEXT:    v_readfirstlane_b32 s44, v1
 ; VI-NEXT:    v_readfirstlane_b32 s45, v2
 ; VI-NEXT:    v_readfirstlane_b32 s42, v3
@@ -8681,7 +8681,7 @@ define inreg <128 x i8> @bitcast_v32i32_to_v128i8_scalar(<32 x i32> inreg %a, i3
 ; VI-NEXT:    v_readfirstlane_b32 s4, v17
 ; VI-NEXT:    s_and_b64 s[46:47], vcc, exec
 ; VI-NEXT:    v_readfirstlane_b32 s5, v18
-; VI-NEXT:    v_writelane_b32 v20, s87, 31
+; VI-NEXT:    v_writelane_b32 v20, s31, 31
 ; VI-NEXT:    ; implicit-def: $vgpr21 : SGPR spil...
[truncated]

@slinder1
Copy link
Contributor Author

slinder1 commented Nov 24, 2025

@slinder1 slinder1 force-pushed the users/slinder1/amdgpu-cfi-4 branch from e38cf3c to 32bd3c3 Compare November 24, 2025 18:18
@slinder1 slinder1 force-pushed the users/slinder1/10-29-use_register_pair_for_pc_spill branch from 4bce3ac to b46525b Compare November 24, 2025 18:18
@github-actions
Copy link

🐧 Linux x64 Test Results

  • 165715 tests passed
  • 2831 tests skipped
  • 21 tests failed

Failed Tests

(click on a test name to see its output)

Clang

Clang.Driver/amdgpu-unwind.cl
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 4
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -### -x cl -target amdgcn-amd-amdhsa -c -emit-llvm --no-offloadlib /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Driver/amdgpu-unwind.cl 2>&1 | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=ASYNC-TABLES /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Driver/amdgpu-unwind.cl
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang '-###' -x cl -target amdgcn-amd-amdhsa -c -emit-llvm --no-offloadlib /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Driver/amdgpu-unwind.cl
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=ASYNC-TABLES /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Driver/amdgpu-unwind.cl
# note: command had no output on stdout or stderr
# RUN: at line 5
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -### -x hip --offload-arch=gfx90a --offload-device-only --no-offloadlib -c -emit-llvm /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Driver/amdgpu-unwind.cl 2>&1 | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=ASYNC-TABLES  /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Driver/amdgpu-unwind.cl
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang '-###' -x hip --offload-arch=gfx90a --offload-device-only --no-offloadlib -c -emit-llvm /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Driver/amdgpu-unwind.cl
# note: command had no output on stdout or stderr
# error: command failed with exit status: 1
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=ASYNC-TABLES /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Driver/amdgpu-unwind.cl
# note: command had no output on stdout or stderr

--

LLVM

LLVM.CodeGen/AMDGPU/amdgcn.bitcast.1024bit.ll
Exit Code: 2

Command Output (stdout):
--
# RUN: at line 5
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn -mcpu=tahiti -verify-machineinstrs=0 < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.1024bit.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=SI /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.1024bit.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn -mcpu=tahiti -verify-machineinstrs=0
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc: error: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc: <stdin>:10751:1: error: expected instruction opcode
# | <<<<<<< HEAD
# | ^
# `-----------------------------
# error: command failed with exit status: 1
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=SI /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.1024bit.ll
# .---command stderr------------
# | FileCheck error: '<stdin>' is empty.
# | FileCheck command line:  /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=SI /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.1024bit.ll
# `-----------------------------
# error: command failed with exit status: 2

--

LLVM.CodeGen/AMDGPU/amdgcn.bitcast.512bit.ll
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 3
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn -mcpu=tahiti < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.512bit.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=SI /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.512bit.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn -mcpu=tahiti
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=SI /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.512bit.ll
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.512bit.ll:9807:12: error: SI-NEXT: expected string not found in input
# | ; SI-NEXT: v_writelane_b32 v18, s30, 0
# |            ^
# | <stdin>:3934:21: note: scanning from here
# |  s_waitcnt expcnt(0)
# |                     ^
# | <stdin>:3935:2: note: possible intended match here
# |  v_writelane_b32 v18, s34, 0
# |  ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.512bit.ll:24817:12: error: SI-NEXT: expected string not found in input
# | ; SI-NEXT: v_writelane_b32 v40, s30, 0
# |            ^
# | <stdin>:9110:21: note: scanning from here
# |  s_waitcnt expcnt(0)
# |                     ^
# | <stdin>:9111:2: note: possible intended match here
# |  v_writelane_b32 v40, s34, 0
# |  ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.512bit.ll:39417:12: error: SI-NEXT: expected string not found in input
# | ; SI-NEXT: v_writelane_b32 v18, s30, 0
# |            ^
# | <stdin>:14102:21: note: scanning from here
# |  s_waitcnt expcnt(0)
# |                     ^
# | <stdin>:14103:2: note: possible intended match here
# |  v_writelane_b32 v18, s34, 0
# |  ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.512bit.ll:52961:12: error: SI-NEXT: expected string not found in input
# | ; SI-NEXT: v_writelane_b32 v40, s30, 0
# |            ^
# | <stdin>:18652:21: note: scanning from here
# |  s_waitcnt expcnt(0)
# |                     ^
# | <stdin>:18653:2: note: possible intended match here
# |  v_writelane_b32 v40, s34, 0
# |  ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.512bit.ll:66406:12: error: SI-NEXT: expected string not found in input
# | ; SI-NEXT: v_writelane_b32 v20, s30, 0
# |            ^
# | <stdin>:23186:21: note: scanning from here
# |  s_waitcnt expcnt(1)
# |                     ^
# | <stdin>:23187:2: note: possible intended match here
# |  v_writelane_b32 v20, s34, 0
# |  ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.512bit.ll:78999:12: error: SI-NEXT: expected string not found in input
# | ; SI-NEXT: v_writelane_b32 v40, s30, 0
# |            ^
# | <stdin>:27538:21: note: scanning from here
# |  s_waitcnt expcnt(0)
# |                     ^
# | <stdin>:27539:2: note: possible intended match here
# |  v_writelane_b32 v40, s34, 0
# |  ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.512bit.ll:83363:12: error: SI-NEXT: expected string not found in input
# | ; SI-NEXT: v_writelane_b32 v32, s30, 0
# |            ^
# | <stdin>:28883:21: note: scanning from here
# |  s_waitcnt expcnt(0)
# |                     ^
# | <stdin>:28884:2: note: possible intended match here
# |  v_writelane_b32 v32, s34, 0
# |  ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.512bit.ll:88320:12: error: SI-NEXT: expected string not found in input
# | ; SI-NEXT: v_writelane_b32 v40, s30, 0
# |            ^
# | <stdin>:30238:21: note: scanning from here
# |  s_waitcnt expcnt(1)
# |                     ^
# | <stdin>:30239:2: note: possible intended match here
# |  v_writelane_b32 v40, s34, 0
# |  ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.512bit.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |               .
# |               .
# |               .
# |            3929: ; %bb.0: 
# |            3930:  s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0) 
# |            3931:  s_xor_saveexec_b64 s[4:5], -1 
# |            3932:  buffer_store_dword v18, off, s[0:3], s32 ; 4-byte Folded Spill 
# |            3933:  s_mov_b64 exec, s[4:5] 
# |            3934:  s_waitcnt expcnt(0) 
# | next:9807'0                          X error: no match found
# |            3935:  v_writelane_b32 v18, s34, 0 
# | next:9807'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:9807'1       ?                            possible intended match
# |            3936:  v_writelane_b32 v18, s35, 1 
# | next:9807'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            3937:  v_writelane_b32 v18, s36, 2 
# | next:9807'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            3938:  v_writelane_b32 v18, s37, 3 
# | next:9807'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            3939:  v_writelane_b32 v18, s38, 4 
# | next:9807'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            3940:  v_writelane_b32 v18, s39, 5 
# | next:9807'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |               .
# |               .
# |               .
# |            9105: ; %bb.0: 
# |            9106:  s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0) 
# |            9107:  s_or_saveexec_b64 s[4:5], -1 
# |            9108:  buffer_store_dword v40, off, s[0:3], s32 ; 4-byte Folded Spill 
# |            9109:  s_mov_b64 exec, s[4:5] 
# |            9110:  s_waitcnt expcnt(0) 
# | next:24817'0                         X error: no match found
# |            9111:  v_writelane_b32 v40, s34, 0 
# | next:24817'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:24817'1      ?                            possible intended match
# |            9112:  v_writelane_b32 v40, s35, 1 
# | next:24817'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            9113:  v_writelane_b32 v40, s36, 2 
# | next:24817'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            9114:  v_writelane_b32 v40, s37, 3 
# | next:24817'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            9115:  v_writelane_b32 v40, s38, 4 
# | next:24817'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            9116:  v_writelane_b32 v40, s39, 5 
# | next:24817'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |               .
# |               .
# |               .
# |           14097: ; %bb.0: 
# |           14098:  s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0) 
# |           14099:  s_xor_saveexec_b64 s[4:5], -1 
# |           14100:  buffer_store_dword v18, off, s[0:3], s32 ; 4-byte Folded Spill 
# |           14101:  s_mov_b64 exec, s[4:5] 
# |           14102:  s_waitcnt expcnt(0) 
# | next:39417'0                         X error: no match found
# |           14103:  v_writelane_b32 v18, s34, 0 
# | next:39417'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:39417'1      ?                            possible intended match
# |           14104:  v_writelane_b32 v18, s35, 1 
# | next:39417'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           14105:  v_writelane_b32 v18, s36, 2 
# | next:39417'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           14106:  v_writelane_b32 v18, s37, 3 
# | next:39417'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           14107:  v_writelane_b32 v18, s38, 4 
# | next:39417'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           14108:  v_writelane_b32 v18, s39, 5 
# | next:39417'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |               .
# |               .
# |               .
# |           18647: ; %bb.0: 
# |           18648:  s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0) 
# |           18649:  s_or_saveexec_b64 s[4:5], -1 
# |           18650:  buffer_store_dword v40, off, s[0:3], s32 ; 4-byte Folded Spill 
# |           18651:  s_mov_b64 exec, s[4:5] 
# |           18652:  s_waitcnt expcnt(0) 
# | next:52961'0                         X error: no match found
# |           18653:  v_writelane_b32 v40, s34, 0 
# | next:52961'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:52961'1      ?                            possible intended match
# |           18654:  v_writelane_b32 v40, s35, 1 
# | next:52961'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           18655:  v_writelane_b32 v40, s36, 2 
# | next:52961'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           18656:  v_writelane_b32 v40, s37, 3 
# | next:52961'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           18657:  v_writelane_b32 v40, s38, 4 
# | next:52961'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           18658:  v_writelane_b32 v40, s39, 5 
# | next:52961'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |               .
# |               .
# |               .
# |           23181:  s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0) 
# |           23182:  s_xor_saveexec_b64 s[4:5], -1 
# |           23183:  buffer_store_dword v20, off, s[0:3], s32 ; 4-byte Folded Spill 
# |           23184:  buffer_store_dword v21, off, s[0:3], s32 offset:4 ; 4-byte Folded Spill 
# |           23185:  s_mov_b64 exec, s[4:5] 
# |           23186:  s_waitcnt expcnt(1) 
# | next:66406'0                         X error: no match found
# |           23187:  v_writelane_b32 v20, s34, 0 
# | next:66406'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:66406'1      ?                            possible intended match
# |           23188:  v_writelane_b32 v20, s35, 1 
# | next:66406'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           23189:  v_writelane_b32 v20, s36, 2 
# | next:66406'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           23190:  v_writelane_b32 v20, s37, 3 
# | next:66406'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           23191:  v_writelane_b32 v20, s38, 4 
# | next:66406'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           23192:  v_writelane_b32 v20, s39, 5 
# | next:66406'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |               .
# |               .
# |               .
# |           27533: ; %bb.0: 
# |           27534:  s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0) 
# |           27535:  s_or_saveexec_b64 s[4:5], -1 
# |           27536:  buffer_store_dword v40, off, s[0:3], s32 ; 4-byte Folded Spill 
# |           27537:  s_mov_b64 exec, s[4:5] 
# |           27538:  s_waitcnt expcnt(0) 
# | next:78999'0                         X error: no match found
# |           27539:  v_writelane_b32 v40, s34, 0 
# | next:78999'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:78999'1      ?                            possible intended match
# |           27540:  v_writelane_b32 v40, s35, 1 
# | next:78999'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           27541:  v_cvt_f16_f32_e32 v21, s17 
# | next:78999'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           27542:  v_cvt_f16_f32_e32 v20, v2 
# | next:78999'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           27543:  v_cvt_f16_f32_e32 v22, v1 
# | next:78999'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           27544:  v_cvt_f16_f32_e32 v25, v4 
# | next:78999'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |               .
# |               .
# |               .
# |           28878:  s_xor_saveexec_b64 s[4:5], -1 
# |           28879:  buffer_store_dword v32, off, s[0:3], s32 offset:80 ; 4-byte Folded Spill 
# |           28880:  s_mov_b64 exec, s[4:5] 
# |           28881:  buffer_load_dword v31, off, s[0:3], s32 offset:72 
# |           28882:  v_readfirstlane_b32 s46, v20 
# |           28883:  s_waitcnt expcnt(0) 
# | next:83363'0                         X error: no match found
# |           28884:  v_writelane_b32 v32, s34, 0 
# | next:83363'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:83363'1      ?                            possible intended match
# |           28885:  v_writelane_b32 v32, s35, 1 
# | next:83363'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           28886:  v_writelane_b32 v32, s36, 2 
# | next:83363'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           28887:  v_writelane_b32 v32, s37, 3 
# | next:83363'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           28888:  v_writelane_b32 v32, s38, 4 
# | next:83363'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           28889:  v_writelane_b32 v32, s39, 5 
# | next:83363'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |               .
# |               .
# |               .
# |           30233:  s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0) 
# |           30234:  s_or_saveexec_b64 s[4:5], -1 
# |           30235:  buffer_store_dword v40, off, s[0:3], s32 ; 4-byte Folded Spill 
# |           30236:  buffer_store_dword v41, off, s[0:3], s32 offset:4 ; 4-byte Folded Spill 
# |           30237:  s_mov_b64 exec, s[4:5] 
# |           30238:  s_waitcnt expcnt(1) 
# | next:88320'0                         X error: no match found
# |           30239:  v_writelane_b32 v40, s34, 0 
# | next:88320'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:88320'1      ?                            possible intended match
# |           30240:  v_writelane_b32 v40, s35, 1 
# | next:88320'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           30241:  v_writelane_b32 v40, s36, 2 
# | next:88320'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           30242:  v_writelane_b32 v40, s37, 3 
# | next:88320'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           30243:  v_writelane_b32 v40, s38, 4 
# | next:88320'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           30244:  v_writelane_b32 v40, s39, 5 
# | next:88320'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |               .
# |               .
# |               .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

LLVM.CodeGen/AMDGPU/amdgcn.bitcast.768bit.ll
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 3
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn -mcpu=tahiti < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.768bit.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=SI /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.768bit.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn -mcpu=tahiti
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=SI /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.768bit.ll
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.768bit.ll:3196:12: error: SI-NEXT: expected string not found in input
# | ; SI-NEXT: v_writelane_b32 v20, s30, 0
# |            ^
# | <stdin>:1293:21: note: scanning from here
# |  s_waitcnt expcnt(0)
# |                     ^
# | <stdin>:1294:2: note: possible intended match here
# |  v_writelane_b32 v20, s34, 0
# |  ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.768bit.ll:21687:12: error: SI-NEXT: expected string not found in input
# | ; SI-NEXT: v_writelane_b32 v20, s30, 0
# |            ^
# | <stdin>:9368:21: note: scanning from here
# |  s_waitcnt expcnt(0)
# |                     ^
# | <stdin>:9369:2: note: possible intended match here
# |  v_writelane_b32 v20, s34, 0
# |  ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.768bit.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |               .
# |               .
# |               .
# |            1288: ; %bb.0: 
# |            1289:  s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0) 
# |            1290:  s_xor_saveexec_b64 s[4:5], -1 
# |            1291:  buffer_store_dword v20, off, s[0:3], s32 ; 4-byte Folded Spill 
# |            1292:  s_mov_b64 exec, s[4:5] 
# |            1293:  s_waitcnt expcnt(0) 
# | next:3196'0                          X error: no match found
# |            1294:  v_writelane_b32 v20, s34, 0 
# | next:3196'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:3196'1       ?                            possible intended match
# |            1295:  v_mov_b32_e32 v12, s16 
# | next:3196'0      ~~~~~~~~~~~~~~~~~~~~~~~~
# |            1296:  v_mov_b32_e32 v13, s17 
# | next:3196'0      ~~~~~~~~~~~~~~~~~~~~~~~~
# |            1297:  v_mov_b32_e32 v14, s18 
# | next:3196'0      ~~~~~~~~~~~~~~~~~~~~~~~~
# |            1298:  v_mov_b32_e32 v15, s19 
# | next:3196'0      ~~~~~~~~~~~~~~~~~~~~~~~~
# |            1299:  v_mov_b32_e32 v16, s20 
# | next:3196'0      ~~~~~~~~~~~~~~~~~~~~~~~~
# |               .
# |               .
# |               .
# |            9363: ; %bb.0: 
# |            9364:  s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0) 
# |            9365:  s_xor_saveexec_b64 s[4:5], -1 
# |            9366:  buffer_store_dword v20, off, s[0:3], s32 ; 4-byte Folded Spill 
# |            9367:  s_mov_b64 exec, s[4:5] 
# |            9368:  s_waitcnt expcnt(0) 
# | next:21687'0                         X error: no match found
# |            9369:  v_writelane_b32 v20, s34, 0 
# | next:21687'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:21687'1      ?                            possible intended match
# |            9370:  v_mov_b32_e32 v12, s16 
# | next:21687'0     ~~~~~~~~~~~~~~~~~~~~~~~~
# |            9371:  v_mov_b32_e32 v13, s17 
# | next:21687'0     ~~~~~~~~~~~~~~~~~~~~~~~~
# |            9372:  v_mov_b32_e32 v14, s18 
# | next:21687'0     ~~~~~~~~~~~~~~~~~~~~~~~~
# |            9373:  v_mov_b32_e32 v15, s19 
# | next:21687'0     ~~~~~~~~~~~~~~~~~~~~~~~~
# |            9374:  v_mov_b32_e32 v16, s20 
# | next:21687'0     ~~~~~~~~~~~~~~~~~~~~~~~~
# |               .
# |               .
# |               .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

LLVM.CodeGen/AMDGPU/amdgcn.bitcast.832bit.ll
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 3
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn -mcpu=tahiti < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.832bit.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=SI /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.832bit.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn -mcpu=tahiti
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=SI /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.832bit.ll
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.832bit.ll:3415:12: error: SI-NEXT: expected string not found in input
# | ; SI-NEXT: v_writelane_b32 v20, s30, 0
# |            ^
# | <stdin>:1364:21: note: scanning from here
# |  s_waitcnt expcnt(0)
# |                     ^
# | <stdin>:1365:2: note: possible intended match here
# |  v_writelane_b32 v20, s34, 0
# |  ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.832bit.ll:23650:12: error: SI-NEXT: expected string not found in input
# | ; SI-NEXT: v_writelane_b32 v20, s30, 0
# |            ^
# | <stdin>:10235:21: note: scanning from here
# |  s_waitcnt expcnt(0)
# |                     ^
# | <stdin>:10236:2: note: possible intended match here
# |  v_writelane_b32 v20, s34, 0
# |  ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.832bit.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |               .
# |               .
# |               .
# |            1359: ; %bb.0: 
# |            1360:  s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0) 
# |            1361:  s_xor_saveexec_b64 s[4:5], -1 
# |            1362:  buffer_store_dword v20, off, s[0:3], s32 ; 4-byte Folded Spill 
# |            1363:  s_mov_b64 exec, s[4:5] 
# |            1364:  s_waitcnt expcnt(0) 
# | next:3415'0                          X error: no match found
# |            1365:  v_writelane_b32 v20, s34, 0 
# | next:3415'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:3415'1       ?                            possible intended match
# |            1366:  v_writelane_b32 v20, s35, 1 
# | next:3415'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            1367:  v_writelane_b32 v20, s36, 2 
# | next:3415'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            1368:  v_writelane_b32 v20, s37, 3 
# | next:3415'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            1369:  v_writelane_b32 v20, s38, 4 
# | next:3415'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            1370:  v_mov_b32_e32 v14, s16 
# | next:3415'0      ~~~~~~~~~~~~~~~~~~~~~~~~
# |               .
# |               .
# |               .
# |           10230: ; %bb.0: 
# |           10231:  s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0) 
# |           10232:  s_xor_saveexec_b64 s[4:5], -1 
# |           10233:  buffer_store_dword v20, off, s[0:3], s32 ; 4-byte Folded Spill 
# |           10234:  s_mov_b64 exec, s[4:5] 
# |           10235:  s_waitcnt expcnt(0) 
# | next:23650'0                         X error: no match found
# |           10236:  v_writelane_b32 v20, s34, 0 
# | next:23650'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:23650'1      ?                            possible intended match
# |           10237:  v_writelane_b32 v20, s35, 1 
# | next:23650'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           10238:  v_writelane_b32 v20, s36, 2 
# | next:23650'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           10239:  v_writelane_b32 v20, s37, 3 
# | next:23650'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           10240:  v_writelane_b32 v20, s38, 4 
# | next:23650'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           10241:  v_mov_b32_e32 v14, s16 
# | next:23650'0     ~~~~~~~~~~~~~~~~~~~~~~~~
# |               .
# |               .
# |               .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

LLVM.CodeGen/AMDGPU/amdgcn.bitcast.896bit.ll
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 3
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn -mcpu=tahiti < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.896bit.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=SI /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.896bit.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn -mcpu=tahiti
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=SI /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.896bit.ll
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.896bit.ll:3644:12: error: SI-NEXT: expected string not found in input
# | ; SI-NEXT: v_writelane_b32 v20, s30, 0
# |            ^
# | <stdin>:1435:21: note: scanning from here
# |  s_waitcnt expcnt(0)
# |                     ^
# | <stdin>:1436:2: note: possible intended match here
# |  v_writelane_b32 v20, s34, 0
# |  ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.896bit.ll:25659:12: error: SI-NEXT: expected string not found in input
# | ; SI-NEXT: v_writelane_b32 v20, s30, 0
# |            ^
# | <stdin>:11108:21: note: scanning from here
# |  s_waitcnt expcnt(0)
# |                     ^
# | <stdin>:11109:2: note: possible intended match here
# |  v_writelane_b32 v20, s34, 0
# |  ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.896bit.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |               .
# |               .
# |               .
# |            1430: ; %bb.0: 
# |            1431:  s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0) 
# |            1432:  s_xor_saveexec_b64 s[4:5], -1 
# |            1433:  buffer_store_dword v20, off, s[0:3], s32 ; 4-byte Folded Spill 
# |            1434:  s_mov_b64 exec, s[4:5] 
# |            1435:  s_waitcnt expcnt(0) 
# | next:3644'0                          X error: no match found
# |            1436:  v_writelane_b32 v20, s34, 0 
# | next:3644'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:3644'1       ?                            possible intended match
# |            1437:  v_writelane_b32 v20, s35, 1 
# | next:3644'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            1438:  v_writelane_b32 v20, s36, 2 
# | next:3644'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            1439:  v_writelane_b32 v20, s37, 3 
# | next:3644'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            1440:  v_writelane_b32 v20, s38, 4 
# | next:3644'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            1441:  v_writelane_b32 v20, s39, 5 
# | next:3644'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |               .
# |               .
# |               .
# |           11103: ; %bb.0: 
# |           11104:  s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0) 
# |           11105:  s_xor_saveexec_b64 s[4:5], -1 
# |           11106:  buffer_store_dword v20, off, s[0:3], s32 ; 4-byte Folded Spill 
# |           11107:  s_mov_b64 exec, s[4:5] 
# |           11108:  s_waitcnt expcnt(0) 
# | next:25659'0                         X error: no match found
# |           11109:  v_writelane_b32 v20, s34, 0 
# | next:25659'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:25659'1      ?                            possible intended match
# |           11110:  v_writelane_b32 v20, s35, 1 
# | next:25659'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           11111:  v_writelane_b32 v20, s36, 2 
# | next:25659'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           11112:  v_writelane_b32 v20, s37, 3 
# | next:25659'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           11113:  v_writelane_b32 v20, s38, 4 
# | next:25659'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           11114:  v_writelane_b32 v20, s39, 5 
# | next:25659'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |               .
# |               .
# |               .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

LLVM.CodeGen/AMDGPU/amdgcn.bitcast.960bit.ll
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 3
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn -mcpu=tahiti < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.960bit.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=SI /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.960bit.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn -mcpu=tahiti
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=SI /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.960bit.ll
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.960bit.ll:3854:12: error: SI-NEXT: expected string not found in input
# | ; SI-NEXT: v_writelane_b32 v20, s30, 0
# |            ^
# | <stdin>:1499:21: note: scanning from here
# |  s_waitcnt expcnt(0)
# |                     ^
# | <stdin>:1500:2: note: possible intended match here
# |  v_writelane_b32 v20, s34, 0
# |  ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.960bit.ll:27655:12: error: SI-NEXT: expected string not found in input
# | ; SI-NEXT: v_writelane_b32 v20, s30, 0
# |            ^
# | <stdin>:11974:21: note: scanning from here
# |  s_waitcnt expcnt(0)
# |                     ^
# | <stdin>:11975:2: note: possible intended match here
# |  v_writelane_b32 v20, s34, 0
# |  ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.960bit.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |               .
# |               .
# |               .
# |            1494: ; %bb.0: 
# |            1495:  s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0) 
# |            1496:  s_xor_saveexec_b64 s[4:5], -1 
# |            1497:  buffer_store_dword v20, off, s[0:3], s32 ; 4-byte Folded Spill 
# |            1498:  s_mov_b64 exec, s[4:5] 
# |            1499:  s_waitcnt expcnt(0) 
# | next:3854'0                          X error: no match found
# |            1500:  v_writelane_b32 v20, s34, 0 
# | next:3854'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:3854'1       ?                            possible intended match
# |            1501:  v_writelane_b32 v20, s35, 1 
# | next:3854'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            1502:  v_writelane_b32 v20, s36, 2 
# | next:3854'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            1503:  v_writelane_b32 v20, s37, 3 
# | next:3854'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            1504:  v_writelane_b32 v20, s38, 4 
# | next:3854'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            1505:  v_writelane_b32 v20, s39, 5 
# | next:3854'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |               .
# |               .
# |               .
# |           11969: ; %bb.0: 
# |           11970:  s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0) 
# |           11971:  s_xor_saveexec_b64 s[4:5], -1 
# |           11972:  buffer_store_dword v20, off, s[0:3], s32 ; 4-byte Folded Spill 
# |           11973:  s_mov_b64 exec, s[4:5] 
# |           11974:  s_waitcnt expcnt(0) 
# | next:27655'0                         X error: no match found
# |           11975:  v_writelane_b32 v20, s34, 0 
# | next:27655'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:27655'1      ?                            possible intended match
# |           11976:  v_writelane_b32 v20, s35, 1 
# | next:27655'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           11977:  v_writelane_b32 v20, s36, 2 
# | next:27655'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           11978:  v_writelane_b32 v20, s37, 3 
# | next:27655'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           11979:  v_writelane_b32 v20, s38, 4 
# | next:27655'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           11980:  v_writelane_b32 v20, s39, 5 
# | next:27655'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |               .
# |               .
# |               .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

LLVM.CodeGen/AMDGPU/call-args-inreg-bfloat.ll
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx900 < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/call-args-inreg-bfloat.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -enable-var-scope -check-prefix=GFX9 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/call-args-inreg-bfloat.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx900
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -enable-var-scope -check-prefix=GFX9 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/call-args-inreg-bfloat.ll
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/call-args-inreg-bfloat.ll:29:14: error: GFX9-NEXT: is not on the line after the previous match
# | ; GFX9-NEXT: v_readlane_b32 s31, v40, 1
# |              ^
# | <stdin>:25:2: note: 'next' match was here
# |  v_readlane_b32 s31, v40, 1
# |  ^
# | <stdin>:23:33: note: previous match ended here
# |  s_swappc_b64 s[30:31], s[18:19]
# |                                 ^
# | <stdin>:24:1: note: non-matching line after previous match is here
# |  v_readlane_b32 s30, v40, 0
# | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/call-args-inreg-bfloat.ll:89:14: error: GFX9-NEXT: is not on the line after the previous match
# | ; GFX9-NEXT: v_readlane_b32 s31, v40, 1
# |              ^
# | <stdin>:76:2: note: 'next' match was here
# |  v_readlane_b32 s31, v40, 1
# |  ^
# | <stdin>:74:33: note: previous match ended here
# |  s_swappc_b64 s[30:31], s[18:19]
# |                                 ^
# | <stdin>:75:1: note: non-matching line after previous match is here
# |  v_readlane_b32 s30, v40, 0
# | ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/call-args-inreg-bfloat.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |          .
# |          .
# |          .
# |         20:  s_addc_u32 s19, s19, external_void_func_bf16_inreg@rel32@hi+12 
# |         21:  s_mov_b32 s0, s16 
# |         22:  v_writelane_b32 v40, s31, 1 
# |         23:  s_swappc_b64 s[30:31], s[18:19] 
# |         24:  v_readlane_b32 s30, v40, 0 
# |         25:  v_readlane_b32 s31, v40, 1 
# | next:29      !~~~~~~~~~~~~~~~~~~~~~~~~~  error: match on wrong line
# |         26:  s_mov_b32 s32, s33 
# |         27:  v_readlane_b32 s4, v40, 2 
# |         28:  s_or_saveexec_b64 s[6:7], -1 
# |         29:  buffer_load_dword v40, off, s[0:3], s33 ; 4-byte Folded Reload 
# |         30:  s_mov_b64 exec, s[6:7] 
# |          .
# |          .
# |          .
# |         71:  s_addc_u32 s19, s19, external_void_func_v2bf16_inreg@rel32@hi+12 
# |         72:  s_mov_b32 s0, s16 
# |         73:  v_writelane_b32 v40, s31, 1 
# |         74:  s_swappc_b64 s[30:31], s[18:19] 
# |         75:  v_readlane_b32 s30, v40, 0 
# |         76:  v_readlane_b32 s31, v40, 1 
# | next:89      !~~~~~~~~~~~~~~~~~~~~~~~~~  error: match on wrong line
# |         77:  s_mov_b32 s32, s33 
# |         78:  v_readlane_b32 s4, v40, 2 
# |         79:  s_or_saveexec_b64 s[6:7], -1 
# |         80:  buffer_load_dword v40, off, s[0:3], s33 ; 4-byte Folded Reload 
# |         81:  s_mov_b64 exec, s[6:7] 
# |          .
# |          .
# |          .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

LLVM.CodeGen/AMDGPU/call-args-inreg.ll
Exit Code: 2

Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -global-isel=0 -mtriple=amdgcn-amd-amdhsa -mcpu=gfx900 < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/call-args-inreg.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -enable-var-scope -check-prefixes=GFX9,SDAG /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/call-args-inreg.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -global-isel=0 -mtriple=amdgcn-amd-amdhsa -mcpu=gfx900
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc: error: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc: <stdin>:434:1: error: expected top-level entity
# | <<<<<<< HEAD
# | ^
# `-----------------------------
# error: command failed with exit status: 1
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -enable-var-scope -check-prefixes=GFX9,SDAG /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/call-args-inreg.ll
# .---command stderr------------
# | FileCheck error: '<stdin>' is empty.
# | FileCheck command line:  /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -enable-var-scope -check-prefixes=GFX9,SDAG /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/call-args-inreg.ll
# `-----------------------------
# error: command failed with exit status: 2

--

LLVM.CodeGen/AMDGPU/call-skip.ll
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn-amd-amdhsa -global-isel=0 -mcpu=hawaii < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/call-skip.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -enable-var-scope -check-prefixes=GCN,SDAG /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/call-skip.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn-amd-amdhsa -global-isel=0 -mcpu=hawaii
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -enable-var-scope -check-prefixes=GCN,SDAG /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/call-skip.ll
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/call-skip.ll:33:13: error: GCN-NEXT: is not on the line after the previous match
# | ; GCN-NEXT: v_readlane_b32 s31, v1, 1
# |             ^
# | <stdin>:58:2: note: 'next' match was here
# |  v_readlane_b32 s31, v1, 1
# |  ^
# | <stdin>:56:31: note: previous match ended here
# |  s_or_b64 exec, exec, s[16:17]
# |                               ^
# | <stdin>:57:1: note: non-matching line after previous match is here
# |  v_readlane_b32 s30, v1, 0
# | ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/call-skip.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |          .
# |          .
# |          .
# |         53:  s_addc_u32 s19, s19, func@rel32@hi+12 
# |         54:  s_swappc_b64 s[30:31], s[18:19] 
# |         55: .LBB1_2: ; %end 
# |         56:  s_or_b64 exec, exec, s[16:17] 
# |         57:  v_readlane_b32 s30, v1, 0 
# |         58:  v_readlane_b32 s31, v1, 1 
# | next:33      !~~~~~~~~~~~~~~~~~~~~~~~~  error: match on wrong line
# |         59:  s_mov_b32 s32, s33 
# |         60:  s_xor_saveexec_b64 s[4:5], -1 
# |         61:  buffer_load_dword v1, off, s[0:3], s33 ; 4-byte Folded Reload 
# |         62:  s_mov_b64 exec, s[4:5] 
# |         63:  s_mov_b32 s33, s20 
# |          .
# |          .
# |          .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

LLVM.CodeGen/AMDGPU/cc-entry.ll
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn -mcpu=gfx1200 < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/cc-entry.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/cc-entry.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn -mcpu=gfx1200
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/cc-entry.ll
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/cc-entry.ll:35:15: error: CHECK-NEXT: is not on the line after the previous match
# | ; CHECK-NEXT: s_add_co_i32 s32, s32, 16
# |               ^
# | <stdin>:92:2: note: 'next' match was here
# |  s_add_co_i32 s32, s32, 16
# |  ^
# | <stdin>:90:23: note: previous match ended here
# |  s_mov_b32 exec_lo, s1
# |                       ^
# | <stdin>:91:1: note: non-matching line after previous match is here
# |  v_writelane_b32 v40, s0, 2
# | ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/cc-entry.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |          .
# |          .
# |          .
# |         87:  s_or_saveexec_b32 s1, -1 
# |         88:  scratch_store_b32 off, v40, s33 ; 4-byte Folded Spill 
# |         89:  s_wait_alu 0xfffe 
# |         90:  s_mov_b32 exec_lo, s1 
# |         91:  v_writelane_b32 v40, s0, 2 
# |         92:  s_add_co_i32 s32, s32, 16 
# | next:35      !~~~~~~~~~~~~~~~~~~~~~~~~  error: match on wrong line
# |         93:  s_mov_b64 s[0:1], s[4:5] 
# |         94:  s_getpc_b64 s[4:5] 
# |         95:  s_wait_alu 0xfffe 
# |         96:  s_sext_i32_i16 s5, s5 
# |         97:  s_add_co_u32 s4, s4, entry_fn@gotpcrel32@lo+12 
# |          .
# |          .
# |          .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

LLVM.CodeGen/AMDGPU/copysign-simplify-demanded-bits.ll
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx900 < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/copysign-simplify-demanded-bits.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=GFX9 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/copysign-simplify-demanded-bits.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx900
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=GFX9 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/copysign-simplify-demanded-bits.ll
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/copysign-simplify-demanded-bits.ll:381:14: error: GFX9-NEXT: expected string not found in input
# | ; GFX9-NEXT: v_writelane_b32 v43, s30, 0
# |              ^
# | <stdin>:586:30: note: scanning from here
# |  v_writelane_b32 v43, s16, 14
# |                              ^
# | <stdin>:587:2: note: possible intended match here
# |  v_writelane_b32 v43, s34, 0
# |  ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/copysign-simplify-demanded-bits.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             .
# |             .
# |             .
# |           581:  s_mov_b32 s16, s33 
# |           582:  s_mov_b32 s33, s32 
# |           583:  s_or_saveexec_b64 s[18:19], -1 
# |           584:  buffer_store_dword v43, off, s[0:3], s33 offset:12 ; 4-byte Folded Spill 
# |           585:  s_mov_b64 exec, s[18:19] 
# |           586:  v_writelane_b32 v43, s16, 14 
# | next:381'0                                  X error: no match found
# |           587:  v_writelane_b32 v43, s34, 0 
# | next:381'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:381'1      ?                            possible intended match
# |           588:  v_writelane_b32 v43, s35, 1 
# | next:381'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           589:  v_writelane_b32 v43, s36, 2 
# | next:381'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           590:  v_writelane_b32 v43, s37, 3 
# | next:381'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           591:  v_writelane_b32 v43, s38, 4 
# | next:381'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           592:  v_writelane_b32 v43, s39, 5 
# | next:381'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             .
# |             .
# |             .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

LLVM.CodeGen/AMDGPU/ds-read2-write2-debug-info.ll
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/opt -passes=debugify < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/ds-read2-write2-debug-info.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx900 | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/ds-read2-write2-debug-info.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/opt -passes=debugify
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx900
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/ds-read2-write2-debug-info.ll
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/ds-read2-write2-debug-info.ll:12:15: error: CHECK-NEXT: is not on the line after the previous match
# | ; CHECK-NEXT: .file 1 "/" "<stdin>"
# |               ^
# | <stdin>:14:2: note: 'next' match was here
# |  .file 1 "/" "<stdin>"
# |  ^
# | <stdin>:11:9: note: previous match ended here
# | ; %bb.0:
# |         ^
# | <stdin>:12:1: note: non-matching line after previous match is here
# |  .cfi_escape 0x0f, 0x04, 0x30, 0x36, 0xe9, 0x02 ; CFA is 0 in private_wave aspace
# | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/ds-read2-write2-debug-info.ll:51:15: error: CHECK-NEXT: is not on the line after the previous match
# | ; CHECK-NEXT: .loc 1 11 1 prologue_end ; <stdin>:11:1
# |               ^
# | <stdin>:125:2: note: 'next' match was here
# |  .loc 1 11 1 prologue_end ; <stdin>:11:1
# |  ^
# | <stdin>:122:9: note: previous match ended here
# | ; %bb.0:
# |         ^
# | <stdin>:123:1: note: non-matching line after previous match is here
# |  .cfi_escape 0x0f, 0x04, 0x30, 0x36, 0xe9, 0x02 ; CFA is 0 in private_wave aspace
# | ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/ds-read2-write2-debug-info.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |          .
# |          .
# |          .
# |          9:  .cfi_sections .debug_frame 
# |         10:  .cfi_startproc 
# |         11: ; %bb.0: 
# |         12:  .cfi_escape 0x0f, 0x04, 0x30, 0x36, 0xe9, 0x02 ; CFA is 0 in private_wave aspace 
# |         13:  .cfi_undefined 16 
# |         14:  .file 1 "/" "<stdin>" 
# | next:12      !~~~~~~~~~~~~~~~~~~~~  error: match on wrong line
# |         15:  .loc 1 1 1 prologue_end ; <stdin>:1:1 
# |         16:  s_load_dwordx2 s[0:1], s[8:9], 0x8 
# |         17: .Ltmp0: 
# |         18:  ;DEBUG_VALUE: simple_write2_one_val_f32:1 <- $vgpr0 
# |         19:  ;DEBUG_VALUE: simple_write2_one_val_f32:5 <- [DW_OP_plus_uconst 8, DW_OP_stack_value] $vgpr0 
# |          .
# |          .
# |          .
# |        120: .Lfunc_begin1: 
# |        121:  .cfi_startproc 
# |        122: ; %bb.0: 
# |        123:  .cfi_escape 0x0f, 0x04, 0x30, 0x36, 0xe9, 0x02 ; CFA is 0 in private_wave aspace 
# |        124:  .cfi_undefined 16 
# |        125:  .loc 1 11 1 prologue_end ; <stdin>:11:1 
# | next:51      !~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  error: match on wrong line
# |        126:  v_lshlrev_b32_e32 v2, 2, v0 
# |        127: .Ltmp4: 
# |        128:  ;DEBUG_VALUE: simple_read2_f32:8 <- $vgpr2 
# |        129:  .loc 1 0 0 is_stmt 0 ; <stdin>:0 
# |        130:  ds_read2_b32 v[0:1], v2 offset1:8 
# |          .
# |          .
# |          .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

LLVM.CodeGen/AMDGPU/dynamic_stackalloc.ll
Exit Code: 2

Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -global-isel=0 -mtriple=amdgcn-amd-amdhsa -mcpu=gfx900 < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/dynamic_stackalloc.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=GFX9-SDAG /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/dynamic_stackalloc.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -global-isel=0 -mtriple=amdgcn-amd-amdhsa -mcpu=gfx900
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc: error: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc: <stdin>:1159:1: error: expected instruction opcode
# | <<<<<<< HEAD
# | ^
# `-----------------------------
# error: command failed with exit status: 1
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=GFX9-SDAG /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/dynamic_stackalloc.ll
# .---command stderr------------
# | FileCheck error: '<stdin>' is empty.
# | FileCheck command line:  /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=GFX9-SDAG /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/dynamic_stackalloc.ll
# `-----------------------------
# error: command failed with exit status: 2

--

LLVM.CodeGen/AMDGPU/gfx-callable-return-types.ll
Exit Code: 2

Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn--amdpal -mcpu=gfx900 < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/gfx-callable-return-types.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck --check-prefix=GFX9 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/gfx-callable-return-types.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn--amdpal -mcpu=gfx900
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc: error: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc: <stdin>:2917:1: error: expected instruction opcode
# | <<<<<<< HEAD
# | ^
# `-----------------------------
# error: command failed with exit status: 1
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck --check-prefix=GFX9 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/gfx-callable-return-types.ll
# .---command stderr------------
# | FileCheck error: '<stdin>' is empty.
# | FileCheck command line:  /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck --check-prefix=GFX9 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/gfx-callable-return-types.ll
# `-----------------------------
# error: command failed with exit status: 2

--

LLVM.CodeGen/AMDGPU/nofpclass-call.ll
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx900 < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/nofpclass-call.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/nofpclass-call.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx900
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/nofpclass-call.ll
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/nofpclass-call.ll:38:15: error: CHECK-NEXT: is not on the line after the previous match
# | ; CHECK-NEXT: v_min_f32_e32 v0, v3, v0
# |               ^
# | <stdin>:56:2: note: 'next' match was here
# |  v_min_f32_e32 v0, v3, v0
# |  ^
# | <stdin>:54:33: note: previous match ended here
# |  s_swappc_b64 s[30:31], s[16:17]
# |                                 ^
# | <stdin>:55:1: note: non-matching line after previous match is here
# |  v_readlane_b32 s30, v4, 0
# | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/nofpclass-call.ll:88:15: error: CHECK-NEXT: is not on the line after the previous match
# | ; CHECK-NEXT: v_min_f32_e32 v0, v4, v0
# |               ^
# | <stdin>:141:2: note: 'next' match was here
# |  v_min_f32_e32 v0, v4, v0
# |  ^
# | <stdin>:139:33: note: previous match ended here
# |  s_swappc_b64 s[30:31], s[16:17]
# |                                 ^
# | <stdin>:140:1: note: non-matching line after previous match is here
# |  v_readlane_b32 s30, v6, 0
# | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/nofpclass-call.ll:139:15: error: CHECK-NEXT: is not on the line after the previous match
# | ; CHECK-NEXT: v_min_f64 v[0:1], v[2:3], v[0:1]
# |               ^
# | <stdin>:227:2: note: 'next' match was here
# |  v_min_f64 v[0:1], v[2:3], v[0:1]
# |  ^
# | <stdin>:225:33: note: previous match ended here
# |  s_swappc_b64 s[30:31], s[16:17]
# |                                 ^
# | <stdin>:226:1: note: non-matching line after previous match is here
# |  v_readlane_b32 s30, v6, 0
# | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/nofpclass-call.ll:202:15: error: CHECK-NEXT: is not on the line after the previous match
# | ; CHECK-NEXT: s_addk_i32 s32, 0x400
# |               ^
# | <stdin>:339:2: note: 'next' match was here
# |  s_addk_i32 s32, 0x400
# |  ^
# | <stdin>:337:26: note: previous match ended here
# |  s_mov_b64 exec, s[18:19]
# |                          ^
# | <stdin>:338:1: note: non-matching line after previous match is here
# |  v_writelane_b32 v40, s16, 2
# | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/nofpclass-call.ll:250:15: error: CHECK-NEXT: is not on the line after the previous match
# | ; CHECK-NEXT: v_min_f32_e32 v0, v0, v2
# |               ^
# | <stdin>:403:2: note: 'next' match was here
# |  v_min_f32_e32 v0, v0, v2
# |  ^
# | <stdin>:401:64: note: previous match ended here
# |  buffer_load_dword v40, off, s[0:3], s33 ; 4-byte Folded Reload
# |                                                                ^
# | <stdin>:402:1: note: non-matching line after previous match is here
# |  v_readlane_b32 s30, v41, 0
# | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/nofpclass-call.ll:320:15: error: CHECK-NEXT: is not on the line after the previous match
# | ; CHECK-NEXT: v_min_f64 v[0:1], v[12:13], v[0:1]
# |               ^
# | <stdin>:504:2: note: 'next' match was here
# |  v_min_f64 v[0:1], v[12:13], v[0:1]
# |  ^
# | <stdin>:502:33: note: previous match ended here
# |  s_swappc_b64 s[30:31], s[16:17]
# |                                 ^
# | <stdin>:503:1: note: non-matching line after previous match is here
# |  v_readlane_b32 s30, v24, 0
# | ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/nofpclass-call.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |           .
# |           .
# |           .
# |          51:  s_swappc_b64 s[30:31], s[16:17] 
# |          52:  v_mov_b32_e32 v3, v0 
# |          53:  v_mov_b32_e32 v0, v2 
# |          54:  s_swappc_b64 s[30:31], s[16:17] 
# |          55:  v_readlane_b32 s30, v4, 0 
# |          56:  v_min_f32_e32 v0, v3, v0 
# | next:38       !~~~~~~~~~~~~~~~~~~~~~~~  error: match on wrong line
# |          57:  v_readlane_b32 s31, v4, 1 
# |          58:  s_mov_b32 s32, s33 
# |          59:  s_xor_saveexec_b64 s[4:5], -1 
# |          60:  buffer_load_dword v4, off, s[0:3], s33 ; 4-byte Folded Reload 
# |          61:  s_mov_b64 exec, s[4:5] 
# |           .
# |           .
# |           .
# |         136:  v_mov_b32_e32 v5, v1 
# |         137:  v_mov_b32_e32 v0, v3 
# |         138:  v_mov_b32_e32 v1, v2 
# |         139:  s_swappc_b64 s[30:31], s[16:17] 
# |         140:  v_readlane_b32 s30, v6, 0 
# |         141:  v_min_f32_e32 v0, v4, v0 
# | next:88       !~~~~~~~~~~~~~~~~~~~~~~~  error: match on wrong line
# |         142:  v_min_f32_e32 v1, v5, v1 
# |         143:  v_readlane_b32 s31, v6, 1 
# |         144:  s_mov_b32 s32, s33 
# |         145:  s_xor_saveexec_b64 s[4:5], -1 
# |         146:  buffer_load_dword v6, off, s[0:3], s33 ; 4-byte Folded Reload 
# |           .
# |           .
# |           .
# |         222:  v_mov_b32_e32 v3, v1 
# |         223:  v_mov_b32_e32 v0, v5 
# |         224:  v_mov_b32_e32 v1, v4 
# |         225:  s_swappc_b64 s[30:31], s[16:17] 
# |         226:  v_readlane_b32 s30, v6, 0 
# |         227:  v_min_f64 v[0:1], v[2:3], v[0:1] 
# | next:139      !~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  error: match on wrong line
# |         228:  v_readlane_b32 s31, v6, 1 
# |         229:  s_mov_b32 s32, s33 
# |         230:  s_xor_saveexec_b64 s[4:5], -1 
# |         231:  buffer_load_dword v6, off, s[0:3], s33 ; 4-byte Folded Reload 
# |         232:  s_mov_b64 exec, s[4:5] 
# |           .
# |           .
# |           .
# |         334:  s_mov_b32 s33, s32 
# |         335:  s_or_saveexec_b64 s[18:19], -1 
# |         336:  buffer_store_dword v40, off, s[0:3], s33 ; 4-byte Folded Spill 
# |         337:  s_mov_b64 exec, s[18:19] 
# |         338:  v_writelane_b32 v40, s16, 2 
# |         339:  s_addk_i32 s32, 0x400 
# | next:202      !~~~~~~~~~~~~~~~~~~~~  error: match on wrong line
# |         340:  s_getpc_b64 s[16:17] 
# |         341:  s_add_u32 s16, s16, aggregate@gotpcrel32@lo+4 
# |         342:  s_addc_u32 s17, s17, aggregate@gotpcrel32@hi+12 
# |         343:  s_load_dwordx2 s[16:17], s[16:17], 0x0 
# |         344:  v_writelane_b32 v40, s30, 0 
# |           .
# |           .
# |           .
# |         398:  v_mov_b32_e32 v40, v0 
# |         399:  s_swappc_b64 s[30:31], s[16:17] 
# |         400:  v_max_f32_e32 v2, v40, v40 
# |         401:  buffer_load_dword v40, off, s[0:3], s33 ; 4-byte Folded Reload 
# |         402:  v_readlane_b32 s30, v41, 0 
# |         403:  v_min_f32_e32 v0, v0, v2 
# | next:250      !~~~~~~~~~~~~~~~~~~~~~~~  error: match on wrong line
# |         404:  v_min_f32_e32 v1, v1, v2 
# |         405:  v_readlane_b32 s31, v41, 1 
# |         406:  s_mov_b32 s32, s33 
# |         407:  v_readlane_b32 s4, v41, 2 
# |         408:  s_or_saveexec_b64 s[6:7], -1 
# |           .
# |           .
# |           .
# |         499:  v_mov_b32_e32 v19, v7 
# |         500:  v_mov_b32_e32 v20, v8 
# |         501:  v_mov_b32_e32 v21, v9 
# |         502:  s_swappc_b64 s[30:31], s[16:17] 
# |         503:  v_readlane_b32 s30, v24, 0 
# |         504:  v_min_f64 v[0:1], v[12:13], v[0:1] 
# | next:320      !~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  error: match on wrong line
# |         505:  v_min_f64 v[2:3], v[14:15], v[2:3] 
# |         506:  v_min_f64 v[4:5], v[16:17], v[4:5] 
# |         507:  v_min_f64 v[6:7], v[18:19], v[6:7] 
# |         508:  v_min_f64 v[8:9], v[20:21], v[8:9] 
# |         509:  v_readlane_b32 s31, v24, 1 
# |           .
# |           .
# |           .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

LLVM.CodeGen/AMDGPU/partial-regcopy-and-spill-missed-at-regalloc.ll
Exit Code: 2

Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx908 --stop-after=greedy,2 < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/partial-regcopy-and-spill-missed-at-regalloc.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=REGALLOC-GFX908 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/partial-regcopy-and-spill-missed-at-regalloc.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx908 --stop-after=greedy,2
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc: error: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc: <stdin>:82:1: error: expected instruction opcode
# | <<<<<<< HEAD
# | ^
# `-----------------------------
# error: command failed with exit status: 1
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=REGALLOC-GFX908 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/partial-regcopy-and-spill-missed-at-regalloc.ll
# .---command stderr------------
# | FileCheck error: '<stdin>' is empty.
# | FileCheck command line:  /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=REGALLOC-GFX908 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/partial-regcopy-and-spill-missed-at-regalloc.ll
# `-----------------------------
# error: command failed with exit status: 2

--

LLVM.CodeGen/AMDGPU/preserve-wwm-copy-dst-reg.ll
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx906 < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/preserve-wwm-copy-dst-reg.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=GFX906 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/preserve-wwm-copy-dst-reg.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx906
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=GFX906 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/preserve-wwm-copy-dst-reg.ll
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/preserve-wwm-copy-dst-reg.ll:341:16: error: GFX906-NEXT: is not on the line after the previous match
# | ; GFX906-NEXT: v_readlane_b32 s31, v41, 1
# |                ^
# | <stdin>:339:2: note: 'next' match was here
# |  v_readlane_b32 s31, v41, 1
# |  ^
# | <stdin>:337:75: note: previous match ended here
# |  buffer_load_dword v35, off, s[0:3], s33 offset:144 ; 4-byte Folded Reload
# |                                                                           ^
# | <stdin>:338:1: note: non-matching line after previous match is here
# |  v_readlane_b32 s30, v41, 0
# | ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/preserve-wwm-copy-dst-reg.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |           .
# |           .
# |           .
# |         334:  buffer_load_dword v32, off, s[0:3], s33 offset:132 ; 4-byte Folded Reload 
# |         335:  buffer_load_dword v33, off, s[0:3], s33 offset:136 ; 4-byte Folded Reload 
# |         336:  buffer_load_dword v34, off, s[0:3], s33 offset:140 ; 4-byte Folded Reload 
# |         337:  buffer_load_dword v35, off, s[0:3], s33 offset:144 ; 4-byte Folded Reload 
# |         338:  v_readlane_b32 s30, v41, 0 
# |         339:  v_readlane_b32 s31, v41, 1 
# | next:341      !~~~~~~~~~~~~~~~~~~~~~~~~~  error: match on wrong line
# |         340:  s_mov_b32 s32, s33 
# |         341:  v_readlane_b32 s4, v41, 4 
# |         342:  v_readlane_b32 s34, v41, 2 
# |         343:  v_readlane_b32 s35, v41, 3 
# |         344:  s_waitcnt vmcnt(33) 
# |           .
# |           .
# |           .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

LLVM.CodeGen/AMDGPU/stack-realign.ll
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn-amd-amdhsa -mcpu=fiji < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/stack-realign.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=GCN /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/stack-realign.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn-amd-amdhsa -mcpu=fiji
# .---command stderr------------
# | warning: inline asm clobber list contains reserved registers: s102
# | note: Reserved registers on the clobber list may not be preserved across the asm statement, and clobbering them may lead to undefined behaviour.
# | warning: inline asm clobber list contains reserved registers: s102
# | note: Reserved registers on the clobber list may not be preserved across the asm statement, and clobbering them may lead to undefined behaviour.
# `-----------------------------
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=GCN /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/stack-realign.ll
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/stack-realign.ll:294:13: error: GCN-NEXT: is not on the line after the previous match
# | ; GCN-NEXT: v_mov_b32_e32 v32, 0
# |             ^
# | <stdin>:604:2: note: 'next' match was here
# |  v_mov_b32_e32 v32, 0
# |  ^
# | <stdin>:601:29: note: previous match ended here
# |  v_writelane_b32 v40, s16, 2
# |                             ^
# | <stdin>:602:1: note: non-matching line after previous match is here
# |  v_writelane_b32 v40, s34, 3
# | ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/stack-realign.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |           .
# |           .
# |           .
# |         599:  buffer_store_dword v40, off, s[0:3], s33 offset:1028 ; 4-byte Folded Spill 
# |         600:  s_mov_b64 exec, s[18:19] 
# |         601:  v_writelane_b32 v40, s16, 2 
# |         602:  v_writelane_b32 v40, s34, 3 
# |         603:  s_mov_b32 s34, s32 
# |         604:  v_mov_b32_e32 v32, 0 
# | next:294      !~~~~~~~~~~~~~~~~~~~  error: match on wrong line
# |         605:  buffer_store_dword v32, off, s[0:3], s33 offset:1024 
# |         606:  s_waitcnt vmcnt(0) 
# |         607:  buffer_load_dword v32, off, s[0:3], s34 
# |         608:  buffer_load_dword v33, off, s[0:3], s34 offset:4 
# |         609:  s_add_i32 s32, s32, 0x30000 
# |           .
# |           .
# |           .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

LLVM.CodeGen/AMDGPU/waterfall-call-target-av-register-failure.ll
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -O0 -mtriple=amdgcn-amd-amdhsa -mcpu=gfx90a -verify-machineinstrs < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/waterfall-call-target-av-register-failure.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/waterfall-call-target-av-register-failure.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -O0 -mtriple=amdgcn-amd-amdhsa -mcpu=gfx90a -verify-machineinstrs
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/waterfall-call-target-av-register-failure.ll
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/waterfall-call-target-av-register-failure.ll:121:15: error: CHECK-NEXT: is not on the line after the previous match
# | ; CHECK-NEXT: v_readlane_b32 s31, v40, 1
# |               ^
# | <stdin>:121:2: note: 'next' match was here
# |  v_readlane_b32 s31, v40, 1
# |  ^
# | <stdin>:119:21: note: previous match ended here
# |  v_mov_b32_e32 v0, 0
# |                     ^
# | <stdin>:120:1: note: non-matching line after previous match is here
# |  v_readlane_b32 s30, v40, 0
# | ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/waterfall-call-target-av-register-failure.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |           .
# |           .
# |           .
# |         116:  v_readlane_b32 s4, v41, 12 
# |         117:  v_readlane_b32 s5, v41, 13 
# |         118:  s_mov_b64 exec, s[4:5] 
# |         119:  v_mov_b32_e32 v0, 0 
# |         120:  v_readlane_b32 s30, v40, 0 
# |         121:  v_readlane_b32 s31, v40, 1 
# | next:121      !~~~~~~~~~~~~~~~~~~~~~~~~~  error: match on wrong line
# |         122:  s_mov_b32 s32, s33 
# |         123:  v_readlane_b32 s4, v40, 4 
# |         124:  v_readlane_b32 s34, v40, 2 
# |         125:  v_readlane_b32 s35, v40, 3 
# |         126:  s_or_saveexec_b64 s[6:7], -1 
# |           .
# |           .
# |           .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

LLVM.CodeGen/AMDGPU/whole-wave-functions.ll
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -global-isel=0 -mtriple=amdgcn--amdpal -mcpu=gfx1200 < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/whole-wave-functions.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck --check-prefix=DAGISEL /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/whole-wave-functions.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -global-isel=0 -mtriple=amdgcn--amdpal -mcpu=gfx1200
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck --check-prefix=DAGISEL /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/whole-wave-functions.ll
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/whole-wave-functions.ll:8051:17: error: DAGISEL-NEXT: is not on the line after the previous match
# | ; DAGISEL-NEXT: flat_store_b32 v[40:41], v0
# |                 ^
# | <stdin>:1428:2: note: 'next' match was here
# |  flat_store_b32 v[40:41], v0
# |  ^
# | <stdin>:1425:31: note: previous match ended here
# |  s_swappc_b64 s[30:31], s[0:1]
# |                               ^
# | <stdin>:1426:1: note: non-matching line after previous match is here
# |  s_delay_alu instid0(VALU_DEP_1)
# | ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/whole-wave-functions.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |            .
# |            .
# |            .
# |         1423:  v_writelane_b32 v42, s31, 2 
# |         1424:  s_wait_alu 0xfffe 
# |         1425:  s_swappc_b64 s[30:31], s[0:1] 
# |         1426:  s_delay_alu instid0(VALU_DEP_1) 
# |         1427:  v_readlane_b32 s30, v42, 1 
# |         1428:  flat_store_b32 v[40:41], v0 
# | next:8051      !~~~~~~~~~~~~~~~~~~~~~~~~~~  error: match on wrong line
# |         1429:  v_readlane_b32 s31, v42, 2 
# |         1430:  v_readlane_b32 s4, v42, 0 
# |         1431:  v_readlane_b32 s0, v42, 3 
# |         1432:  s_clause 0x2 ; 12-byte Folded Reload 
# |         1433:  scratch_load_b32 v42, off, s33 
# |            .
# |            .
# |            .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

If these failures are unrelated to your changes (for example tests are broken or flaky at HEAD), please open an issue at https://github.com/llvm/llvm-project/issues and add the infrastructure label.

Comment on lines +277 to +278
if (Reg == TRI->getSubReg(RetAddrReg, AMDGPU::sub0) ||
Reg == TRI->getSubReg(RetAddrReg, AMDGPU::sub1)) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull the getSubRegs out of the loop

}
}

// Return address uses a register pair. Add the super register to the
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this really special case the return address? Could we compact the representation by emitting CFI for the largest possible tuple covering?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants