[llvm] [AMDGPU] Add TDM Descriptor Optimization Pass (PR #173324)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 22 18:48:21 PST 2025
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results
* 128862 tests passed
* 2841 tests skipped
* 28 tests failed
## Failed Tests
(click on a test name to see its output)
### LLVM
<details>
<summary>LLVM.CodeGen/AMDGPU/GlobalISel/flat-scratch.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -mtriple=amdgcn-amd-amdhsa -mcpu=gfx900 -global-isel -new-reg-bank-select -mattr=-promote-alloca -mattr=+enable-flat-scratch < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\flat-scratch.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe -check-prefix=GFX9 C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\flat-scratch.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -mtriple=amdgcn-amd-amdhsa -mcpu=gfx900 -global-isel -new-reg-bank-select -mattr=-promote-alloca -mattr=+enable-flat-scratch
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' -check-prefix=GFX9 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\flat-scratch.ll'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\flat-scratch.ll:643:14: error: GFX9-NEXT: expected string not found in input
# | ; GFX9-NEXT: s_addk_i32 s1, 0x100
# | ^
# | <stdin>:281:22: note: scanning from here
# | v_mov_b32_e32 v0, 15
# | ^
# | <stdin>:282:2: note: possible intended match here
# | s_add_i32 s1, s1, 4
# | ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\flat-scratch.ll:849:14: error: GFX9-NEXT: expected string not found in input
# | ; GFX9-NEXT: v_add_u32_e32 v1, 0x100, v1
# | ^
# | <stdin>:382:25: note: scanning from here
# | v_sub_u32_e32 v0, 0, v0
# | ^
# | <stdin>:383:2: note: possible intended match here
# | v_add_u32_e32 v1, 4, v1
# | ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\flat-scratch.ll:1082:14: error: GFX9-NEXT: expected string not found in input
# | ; GFX9-NEXT: v_add_u32_e32 v1, 0x100, v1
# | ^
# | <stdin>:482:29: note: scanning from here
# | v_lshlrev_b32_e32 v0, 2, v0
# | ^
# | <stdin>:483:2: note: possible intended match here
# | v_add_u32_e32 v1, 4, v1
# | ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\flat-scratch.ll:1274:14: error: GFX9-NEXT: expected string not found in input
# | ; GFX9-NEXT: scratch_load_dword v0, off, s1 offset:4 glc
# | ^
# | <stdin>:521:17: note: scanning from here
# | s_mov_b32 s1, 0
# | ^
# | <stdin>:522:2: note: possible intended match here
# | scratch_load_dword v0, off, s1 glc
# | ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\flat-scratch.ll:1479:14: error: GFX9-NEXT: expected string not found in input
# | ; GFX9-NEXT: scratch_load_dword v1, off, s1 offset:4 glc
# | ^
# | <stdin>:621:17: note: scanning from here
# | s_mov_b32 s1, 0
# | ^
# | <stdin>:622:2: note: possible intended match here
# | scratch_load_dword v1, off, s1 glc
# | ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\flat-scratch.ll:1716:14: error: GFX9-NEXT: expected string not found in input
# | ; GFX9-NEXT: scratch_load_dword v1, off, s32 offset:4 glc
# | ^
# | <stdin>:721:41: note: scanning from here
# | s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
# | ^
# | <stdin>:722:2: note: possible intended match here
# | scratch_load_dword v1, off, s32 glc
# | ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\flat-scratch.ll:1918:14: error: GFX9-NEXT: is not on the line after the previous match
# | ; GFX9-NEXT: scratch_store_dword off, v0, s0 offset:4
# | ^
# | <stdin>:770:2: note: 'next' match was here
# | scratch_store_dword off, v0, s0 offset:4
# | ^
# | <stdin>:766:17: note: previous match ended here
# | s_mov_b32 s0, 0
# | ^
# | <stdin>:767:1: note: non-matching line after previous match is here
# | scratch_store_dword off, v0, s0
# | ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\flat-scratch.ll:2074:14: error: GFX9-NEXT: expected string not found in input
# | ; GFX9-NEXT: s_movk_i32 s0, 0x3e80
# | ^
# | <stdin>:858:41: note: scanning from here
# | s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
# | ^
# | <stdin>:859:2: note: possible intended match here
# | v_mov_b32_e32 v0, 13
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\flat-scratch.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 276: s_mov_b32 s1, 0
# | 277: scratch_load_dword v0, off, s1 glc
# | 278: s_waitcnt vmcnt(0) lgkmcnt(0)
# | 279: s_lshl_b32 s1, s0, 2
# | 280: s_and_b32 s0, s0, 15
# | 281: v_mov_b32_e32 v0, 15
# | next:643'0 X error: no match found
# | 282: s_add_i32 s1, s1, 4
# | next:643'0 ~~~~~~~~~~~~~~~~~~~~~
# | next:643'1 ? possible intended match
# | 283: s_lshl_b32 s0, s0, 2
# | next:643'0 ~~~~~~~~~~~~~~~~~~~~~~
# | 284: scratch_store_dword off, v0, s1
# | next:643'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 285: s_waitcnt vmcnt(0)
# | next:643'0 ~~~~~~~~~~~~~~~~~~~~
# | 286: s_add_i32 s0, s0, 4
# | next:643'0 ~~~~~~~~~~~~~~~~~~~~~
# | 287: scratch_load_dword v0, off, s0 glc
# | next:643'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 377: scratch_load_dword v1, off, s1 glc
# | 378: s_waitcnt vmcnt(0)
# | 379: v_lshlrev_b32_e32 v1, 2, v0
# | 380: s_waitcnt lgkmcnt(0)
# | 381: s_lshl_b32 s0, s0, 7
# | 382: v_sub_u32_e32 v0, 0, v0
# | next:849'0 X error: no match found
# | 383: v_add_u32_e32 v1, 4, v1
# | next:849'0 ~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:849'1 ? possible intended match
# | 384: s_add_u32 s0, 4, s0
# | next:849'0 ~~~~~~~~~~~~~~~~~~~~~
# | 385: v_mov_b32_e32 v2, 15
# | next:849'0 ~~~~~~~~~~~~~~~~~~~~~~
# | 386: v_lshlrev_b32_e32 v0, 2, v0
# | next:849'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 387: scratch_store_dword v1, v2, off offset:128
# | next:849'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 388: s_waitcnt vmcnt(0)
# | next:849'0 ~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 477: scratch_load_dword v1, off, s32 glc
# | 478: s_waitcnt vmcnt(0)
# | 479: v_lshlrev_b32_e32 v1, 2, v0
# | 480: v_and_b32_e32 v0, 15, v0
# | 481: v_add_u32_e32 v1, s32, v1
# | 482: v_lshlrev_b32_e32 v0, 2, v0
# | next:1082'0 X error: no match found
# | 483: v_add_u32_e32 v1, 4, v1
# | next:1082'0 ~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:1082'1 ? possible intended match
# | 484: v_mov_b32_e32 v2, 15
# | next:1082'0 ~~~~~~~~~~~~~~~~~~~~~~
# | 485: v_add_u32_e32 v0, s32, v0
# | next:1082'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 486: scratch_store_dword v1, v2, off
# | next:1082'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 487: s_waitcnt vmcnt(0)
# | next:1082'0 ~~~~~~~~~~~~~~~~~~~~
# | 488: v_add_u32_e32 v0, 4, v0
# | next:1082'0 ~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 516: store_load_sindex_large_offset_kernel: ; @store_load_sindex_large_offset_kernel
# | next:1082'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 517: ; %bb.0: ; %bb
# | 518: s_load_dword s0, s[4:5], 0x0
# | 519: s_add_u32 flat_scratch_lo, s8, s13
# | 520: s_addc_u32 flat_scratch_hi, s9, 0
# | 521: s_mov_b32 s1, 0
# | next:1274'0 X error: no match found
# | 522: scratch_load_dword v0, off, s1 glc
# | next:1274'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:1274'1 ? possible intended match
# | 523: s_waitcnt vmcnt(0) lgkmcnt(0)
# | next:1274'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 524: s_lshl_b32 s1, s0, 2
# | next:1274'0 ~~~~~~~~~~~~~~~~~~~~~~
# | 525: s_and_b32 s0, s0, 15
# | next:1274'0 ~~~~~~~~~~~~~~~~~~~~~~
# | 526: v_mov_b32_e32 v0, 15
# | next:1274'0 ~~~~~~~~~~~~~~~~~~~~~~
# | 527: s_add_i32 s1, s1, 4
# | next:1274'0 ~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 616: store_load_vindex_large_offset_kernel: ; @store_load_vindex_large_offset_kernel
# | next:1274'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 617: ; %bb.0: ; %bb
# | 618: s_load_dword s0, s[4:5], 0x0
# | 619: s_add_u32 flat_scratch_lo, s8, s13
# | 620: s_addc_u32 flat_scratch_hi, s9, 0
# | 621: s_mov_b32 s1, 0
# | next:1479'0 X error: no match found
# | 622: scratch_load_dword v1, off, s1 glc
# | next:1479'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:1479'1 ? possible intended match
# | 623: s_waitcnt vmcnt(0)
# | next:1479'0 ~~~~~~~~~~~~~~~~~~~~
# | 624: v_lshlrev_b32_e32 v1, 2, v0
# | next:1479'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 625: s_waitcnt lgkmcnt(0)
# | next:1479'0 ~~~~~~~~~~~~~~~~~~~~~~
# | 626: s_lshl_b32 s0, s0, 7
# | next:1479'0 ~~~~~~~~~~~~~~~~~~~~~~
# | 627: v_sub_u32_e32 v0, 0, v0
# | next:1479'0 ~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 716: .globl store_load_vindex_large_offset_foo ; -- Begin function store_load_vindex_large_offset_foo
# | next:1479'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 717: .p2align 2
# | next:1479'0 ~~~~~~~~~~~~
# | 718: .type store_load_vindex_large_offset_foo, at function
# | next:1479'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 719: store_load_vindex_large_offset_foo: ; @store_load_vindex_large_offset_foo
# | next:1479'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 720: ; %bb.0: ; %bb
# | 721: s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
# | next:1716'0 X error: no match found
# | 722: scratch_load_dword v1, off, s32 glc
# | next:1716'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:1716'1 ? possible intended match
# | 723: s_waitcnt vmcnt(0)
# | next:1716'0 ~~~~~~~~~~~~~~~~~~~~
# | 724: v_lshlrev_b32_e32 v1, 2, v0
# | next:1716'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 725: v_and_b32_e32 v0, 15, v0
# | next:1716'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 726: v_add_u32_e32 v1, s32, v1
# | next:1716'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 727: v_lshlrev_b32_e32 v0, 2, v0
# | next:1716'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 765: v_mov_b32_e32 v0, 13
# | 766: s_mov_b32 s0, 0
# | 767: scratch_store_dword off, v0, s0
# | 768: s_waitcnt vmcnt(0)
# | 769: v_mov_b32_e32 v0, 15
# | 770: scratch_store_dword off, v0, s0 offset:4
# | next:1918 !~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: match on wrong line
# | 771: s_waitcnt vmcnt(0)
# | 772: scratch_load_dword v0, off, s0 offset:4 glc
# | 773: s_waitcnt vmcnt(0)
# | 774: s_endpgm
# | 775: .section .rodata,"a", at progbits
# | .
# | .
# | .
# | 853: .globl store_load_large_imm_offset_foo ; -- Begin function store_load_large_imm_offset_foo
# | 854: .p2align 2
# | 855: .type store_load_large_imm_offset_foo, at function
# | 856: store_load_large_imm_offset_foo: ; @store_load_large_imm_offset_foo
# | 857: ; %bb.0: ; %bb
# | 858: s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
# | next:2074'0 X error: no match found
# | 859: v_mov_b32_e32 v0, 13
# | next:2074'0 ~~~~~~~~~~~~~~~~~~~~~~
# | next:2074'1 ? possible intended match
# | 860: scratch_store_dword off, v0, s32
# | next:2074'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 861: s_waitcnt vmcnt(0)
# | next:2074'0 ~~~~~~~~~~~~~~~~~~~~
# | 862: v_mov_b32_e32 v0, 15
# | next:2074'0 ~~~~~~~~~~~~~~~~~~~~~~
# | 863: scratch_store_dword off, v0, s32 offset:4
# | next:2074'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 864: s_waitcnt vmcnt(0)
# | next:2074'0 ~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>LLVM.CodeGen/AMDGPU/GlobalISel/insertelement.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -global-isel -mtriple=amdgcn-mesa-mesa3d -mcpu=gfx900 -verify-machineinstrs < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\insertelement.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe -check-prefix=GPRIDX C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\insertelement.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -global-isel -mtriple=amdgcn-mesa-mesa3d -mcpu=gfx900 -verify-machineinstrs
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' -check-prefix=GPRIDX 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\insertelement.ll'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\insertelement.ll:13:16: error: GPRIDX-NEXT: expected string not found in input
# | ; GPRIDX-NEXT: s_cmp_eq_u32 s11, 0
# | ^
# | <stdin>:21:18: note: scanning from here
# | ; %bb.0: ; %entry
# | ^
# | <stdin>:26:31: note: possible intended match here
# | .set dyn_insertelement_v8i32_s_s_s.num_vgpr, 0
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\insertelement.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 16: .text
# | 17: .globl dyn_insertelement_v8i32_s_s_s ; -- Begin function dyn_insertelement_v8i32_s_s_s
# | 18: .p2align 8
# | 19: .type dyn_insertelement_v8i32_s_s_s, at function
# | 20: dyn_insertelement_v8i32_s_s_s: ; @dyn_insertelement_v8i32_s_s_s
# | 21: ; %bb.0: ; %entry
# | next:13'0 X error: no match found
# | 22: ; return to shader part epilog
# | next:13'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 23: .Lfunc_end0:
# | next:13'0 ~~~~~~~~~~~~~
# | 24: .size dyn_insertelement_v8i32_s_s_s, .Lfunc_end0-dyn_insertelement_v8i32_s_s_s
# | next:13'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 25: ; -- End function
# | next:13'0 ~~~~~~~~~~~~~~~~~~~
# | 26: .set dyn_insertelement_v8i32_s_s_s.num_vgpr, 0
# | next:13'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:13'1 ? possible intended match
# | 27: .set dyn_insertelement_v8i32_s_s_s.num_agpr, 0
# | next:13'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 28: .set dyn_insertelement_v8i32_s_s_s.numbered_sgpr, 8
# | next:13'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 29: .set dyn_insertelement_v8i32_s_s_s.num_named_barrier, 0
# | next:13'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 30: .set dyn_insertelement_v8i32_s_s_s.private_seg_size, 0
# | next:13'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 31: .set dyn_insertelement_v8i32_s_s_s.uses_vcc, 0
# | next:13'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>LLVM.CodeGen/AMDGPU/GlobalISel/irtranslator-sibling-call.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -global-isel -stop-after=irtranslator -mtriple=amdgcn-amd-amdhsa -mcpu=gfx900 < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\irtranslator-sibling-call.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe -enable-var-scope -check-prefix=GCN C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\irtranslator-sibling-call.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -global-isel -stop-after=irtranslator -mtriple=amdgcn-amd-amdhsa -mcpu=gfx900
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' -enable-var-scope -check-prefix=GCN 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\irtranslator-sibling-call.ll'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\irtranslator-sibling-call.ll:28:14: error: GCN-NEXT: expected string not found in input
# | ; GCN-NEXT: [[C1:%[0-9]+]]:_(s32) = G_CONSTANT i32 20
# | ^
# | <stdin>:492:42: note: scanning from here
# | %2:_(p5) = G_FRAME_INDEX %stack.0.alloca.sroa.0
# | ^
# | <stdin>:494:2: note: possible intended match here
# | %4:_(s32) = G_ADD %0, %1
# | ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\irtranslator-sibling-call.ll:70:14: error: GCN-NEXT: expected string not found in input
# | ; GCN-NEXT: [[C1:%[0-9]+]]:_(s32) = G_CONSTANT i32 20
# | ^
# | <stdin>:745:42: note: scanning from here
# | %3:_(p5) = G_FRAME_INDEX %stack.0.alloca.sroa.0
# | ^
# | <stdin>:747:4: note: possible intended match here
# | %6:ccr_sgpr_64(p0) = G_GLOBAL_VALUE @i32_fastcc_i32_i32
# | ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\irtranslator-sibling-call.ll:97:14: error: GCN-NEXT: expected string not found in input
# | ; GCN-NEXT: [[C1:%[0-9]+]]:_(s32) = G_CONSTANT i32 20
# | ^
# | <stdin>:877:42: note: scanning from here
# | %3:_(p5) = G_FRAME_INDEX %stack.0.alloca.sroa.0
# | ^
# | <stdin>:879:4: note: possible intended match here
# | %6:ccr_sgpr_64(p0) = G_GLOBAL_VALUE @i32_fastcc_i32_i32_stack_object
# | ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\irtranslator-sibling-call.ll:453:14: error: GCN-NEXT: expected string not found in input
# | ; GCN-NEXT: [[C1:%[0-9]+]]:_(s32) = G_CONSTANT i32 20
# | ^
# | <stdin>:2302:43: note: scanning from here
# | %37:_(p5) = G_FRAME_INDEX %stack.0.alloca.sroa.0
# | ^
# | <stdin>:2304:5: note: possible intended match here
# | %40:ccr_sgpr_64(p0) = G_GLOBAL_VALUE @i32_fastcc_i32_i32_a32i32
# | ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\irtranslator-sibling-call.ll:648:14: error: GCN-NEXT: expected string not found in input
# | ; GCN-NEXT: [[C1:%[0-9]+]]:_(s32) = G_CONSTANT i32 20
# | ^
# | <stdin>:2876:43: note: scanning from here
# | %37:_(p5) = G_FRAME_INDEX %stack.0.alloca.sroa.0
# | ^
# | <stdin>:2878:5: note: possible intended match here
# | %40:ccr_sgpr_64(p0) = G_GLOBAL_VALUE @i32_fastcc_i32_i32_a32i32
# | ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\irtranslator-sibling-call.ll:753:14: error: GCN-NEXT: expected string not found in input
# | ; GCN-NEXT: [[C2:%[0-9]+]]:_(s32) = G_CONSTANT i32 20
# | ^
# | <stdin>:3172:43: note: scanning from here
# | %45:_(p5) = G_FRAME_INDEX %stack.0.alloca.sroa.0
# | ^
# | <stdin>:3174:5: note: possible intended match here
# | %49:ccr_sgpr_64(p0) = G_GLOBAL_VALUE @i32_fastcc_i32_i32_a32i32
# | ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\irtranslator-sibling-call.ll:924:14: error: GCN-NEXT: expected string not found in input
# | ; GCN-NEXT: G_STORE [[C]](s32), [[FRAME_INDEX34]](p5) :: (store (s32) into %ir.alloca0, addrspace 5)
# | ^
# | <stdin>:3726:45: note: scanning from here
# | %100:_(p5) = G_FRAME_INDEX %stack.1.alloca1
# | ^
# | <stdin>:3726:45: note: with "C" equal to "%101"
# | %100:_(p5) = G_FRAME_INDEX %stack.1.alloca1
# | ^
# | <stdin>:3726:45: note: with "FRAME_INDEX34" equal to "%99"
# | %100:_(p5) = G_FRAME_INDEX %stack.1.alloca1
# | ^
# | <stdin>:3733:2: note: possible intended match here
# | G_STORE %101(s32), %105(p5) :: (store (s32) into %ir..fca.2.gep, addrspace 5)
# | ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\irtranslator-sibling-call.ll:1091:14: error: GCN-NEXT: expected string not found in input
# | ; GCN-NEXT: G_STORE [[C]](s32), [[FRAME_INDEX34]](p5) :: (store (s32) into %ir.alloca, addrspace 5)
# | ^
# | <stdin>:4275:43: note: scanning from here
# | %99:_(p5) = G_FRAME_INDEX %stack.0.alloca
# | ^
# | <stdin>:4275:43: note: with "C" equal to "%100"
# | %99:_(p5) = G_FRAME_INDEX %stack.0.alloca
# | ^
# | <stdin>:4275:43: note: with "FRAME_INDEX34" equal to "%99"
# | %99:_(p5) = G_FRAME_INDEX %stack.0.alloca
# | ^
# | <stdin>:4276:2: note: possible intended match here
# | G_STORE %100(s32), %99(p5) :: (store (s32) into %ir..fca.0.gep1, addrspace 5)
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\irtranslator-sibling-call.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 487: liveins: $vgpr0, $vgpr1
# | 488:
# | 489: %0:_(s32) = COPY $vgpr0
# | 490: %1:_(s32) = COPY $vgpr1
# | 491: %3:_(s32) = G_CONSTANT i32 9
# | 492: %2:_(p5) = G_FRAME_INDEX %stack.0.alloca.sroa.0
# | next:28'0 X~~~~~~~ error: no match found
# | 493: G_STORE %3(s32), %2(p5) :: (volatile store (s32) into %ir.alloca.sroa.0, addrspace 5)
# | next:28'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 494: %4:_(s32) = G_ADD %0, %1
# | next:28'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:28'1 ? possible intended match
# | 495: $vgpr0 = COPY %4(s32)
# | next:28'0 ~~~~~~~~~~~~~~~~~~~~~~~
# | 496: SI_RETURN implicit $vgpr0
# | next:28'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 497: ...
# | next:28'0 ~~~~
# | 498: ---
# | next:28'0 ~~~~
# | 499: name: sibling_call_i32_fastcc_i32_i32
# | next:28'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 740:
# | 741: %0:_(s32) = COPY $vgpr0
# | 742: %1:_(s32) = COPY $vgpr1
# | 743: %2:_(s32) = COPY $vgpr2
# | 744: %4:_(s32) = G_CONSTANT i32 9
# | 745: %3:_(p5) = G_FRAME_INDEX %stack.0.alloca.sroa.0
# | next:70'0 X~~~~~~~ error: no match found
# | 746: G_STORE %4(s32), %3(p5) :: (volatile store (s32) into %ir.alloca.sroa.0, addrspace 5)
# | next:70'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 747: %6:ccr_sgpr_64(p0) = G_GLOBAL_VALUE @i32_fastcc_i32_i32
# | next:70'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:70'1 ? possible intended match
# | 748: $vgpr0 = COPY %0(s32)
# | next:70'0 ~~~~~~~~~~~~~~~~~~~~~~~
# | 749: $vgpr1 = COPY %1(s32)
# | next:70'0 ~~~~~~~~~~~~~~~~~~~~~~~
# | 750: %7:_(<4 x s32>) = COPY $sgpr0_sgpr1_sgpr2_sgpr3
# | next:70'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 751: $sgpr0_sgpr1_sgpr2_sgpr3 = COPY %7(<4 x s32>)
# | next:70'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 752: SI_TCRETURN %6(p0), @i32_fastcc_i32_i32, 0, csr_amdgpu, implicit $vgpr0, implicit $vgpr1, implicit $sgpr0_sgpr1_sgpr2_sgpr3
# | next:70'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 872:
# | 873: %0:_(s32) = COPY $vgpr0
# | 874: %1:_(s32) = COPY $vgpr1
# | 875: %2:_(s32) = COPY $vgpr2
# | 876: %4:_(s32) = G_CONSTANT i32 9
# | 877: %3:_(p5) = G_FRAME_INDEX %stack.0.alloca.sroa.0
# | next:97'0 X~~~~~~~ error: no match found
# | 878: G_STORE %4(s32), %3(p5) :: (volatile store (s32) into %ir.alloca.sroa.0, addrspace 5)
# | next:97'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 879: %6:ccr_sgpr_64(p0) = G_GLOBAL_VALUE @i32_fastcc_i32_i32_stack_object
# | next:97'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:97'1 ? possible intended match
# | 880: $vgpr0 = COPY %0(s32)
# | next:97'0 ~~~~~~~~~~~~~~~~~~~~~~~
# | 881: $vgpr1 = COPY %1(s32)
# | next:97'0 ~~~~~~~~~~~~~~~~~~~~~~~
# | 882: %7:_(<4 x s32>) = COPY $sgpr0_sgpr1_sgpr2_sgpr3
# | next:97'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 883: $sgpr0_sgpr1_sgpr2_sgpr3 = COPY %7(<4 x s32>)
# | next:97'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 884: SI_TCRETURN %6(p0), @i32_fastcc_i32_i32_stack_object, 0, csr_amdgpu, implicit $vgpr0, implicit $vgpr1, implicit $sgpr0_sgpr1_sgpr2_sgpr3
# | next:97'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 2297: %35:_(p5) = G_FRAME_INDEX %fixed-stack.4
# | 2298: %32:_(s32) = G_LOAD %35(p5) :: (invariant load (s32) from %fixed-stack.4, addrspace 5)
# | 2299: %36:_(p5) = G_FRAME_INDEX %fixed-stack.3
# | 2300: %33:_(s32) = G_LOAD %36(p5) :: (invariant load (s32) from %fixed-stack.3, align 8, addrspace 5)
# | 2301: %38:_(s32) = G_CONSTANT i32 9
# | 2302: %37:_(p5) = G_FRAME_INDEX %stack.0.alloca.sroa.0
# | next:453'0 X~~~~~~~ error: no match found
# | 2303: G_STORE %38(s32), %37(p5) :: (volatile store (s32) into %ir.alloca.sroa.0, addrspace 5)
# | next:453'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 2304: %40:ccr_sgpr_64(p0) = G_GLOBAL_VALUE @i32_fastcc_i32_i32_a32i32
# | next:453'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:453'1 ? possible intended match
# | 2305: %41:_(p5) = G_FRAME_INDEX %fixed-stack.2
# | next:453'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 2306: G_STORE %31(s32), %41(p5) :: (store (s32) into %fixed-stack.2, align 16, addrspace 5)
# | next:453'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 2307: %42:_(p5) = G_FRAME_INDEX %fixed-stack.1
# | next:453'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 2308: G_STORE %32(s32), %42(p5) :: (store (s32) into %fixed-stack.1, addrspace 5)
# | next:453'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 2309: %43:_(p5) = G_FRAME_INDEX %fixed-stack.0
# | next:453'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 2871: %35:_(p5) = G_FRAME_INDEX %fixed-stack.4
# | 2872: %32:_(s32) = G_LOAD %35(p5) :: (invariant load (s32) from %fixed-stack.4, addrspace 5)
# | 2873: %36:_(p5) = G_FRAME_INDEX %fixed-stack.3
# | 2874: %33:_(s32) = G_LOAD %36(p5) :: (invariant load (s32) from %fixed-stack.3, align 8, addrspace 5)
# | 2875: %38:_(s32) = G_CONSTANT i32 9
# | 2876: %37:_(p5) = G_FRAME_INDEX %stack.0.alloca.sroa.0
# | next:648'0 X~~~~~~~ error: no match found
# | 2877: G_STORE %38(s32), %37(p5) :: (volatile store (s32) into %ir.alloca.sroa.0, addrspace 5)
# | next:648'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 2878: %40:ccr_sgpr_64(p0) = G_GLOBAL_VALUE @i32_fastcc_i32_i32_a32i32
# | next:648'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:648'1 ? possible intended match
# | 2879: %41:_(p5) = G_FRAME_INDEX %fixed-stack.2
# | next:648'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 2880: G_STORE %31(s32), %41(p5) :: (store (s32) into %fixed-stack.2, align 16, addrspace 5)
# | next:648'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 2881: %42:_(p5) = G_FRAME_INDEX %fixed-stack.1
# | next:648'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 2882: G_STORE %32(s32), %42(p5) :: (store (s32) into %fixed-stack.1, addrspace 5)
# | next:648'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 2883: %43:_(p5) = G_FRAME_INDEX %fixed-stack.0
# | next:648'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 3167: %36:_(s32) = G_LOAD %43(p5) :: (invariant load (s32) from %fixed-stack.4, addrspace 5)
# | 3168: %44:_(p5) = G_FRAME_INDEX %fixed-stack.3
# | 3169: %37:_(s32) = G_LOAD %44(p5) :: (invariant load (s32) from %fixed-stack.3, align 8, addrspace 5)
# | 3170: %46:_(s32) = G_CONSTANT i32 9
# | 3171: %48:_(s32) = G_CONSTANT i32 0
# | 3172: %45:_(p5) = G_FRAME_INDEX %stack.0.alloca.sroa.0
# | next:753'0 X~~~~~~~ error: no match found
# | 3173: G_STORE %46(s32), %45(p5) :: (volatile store (s32) into %ir.alloca.sroa.0, addrspace 5)
# | next:753'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 3174: %49:ccr_sgpr_64(p0) = G_GLOBAL_VALUE @i32_fastcc_i32_i32_a32i32
# | next:753'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:753'1 ? possible intended match
# | 3175: %50:_(p5) = G_FRAME_INDEX %fixed-stack.2
# | next:753'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 3176: G_STORE %48(s32), %50(p5) :: (store (s32) into %fixed-stack.2, align 16, addrspace 5)
# | next:753'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 3177: %51:_(p5) = G_FRAME_INDEX %fixed-stack.1
# | next:753'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 3178: G_STORE %48(s32), %51(p5) :: (store (s32) into %fixed-stack.1, addrspace 5)
# | next:753'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 3179: %52:_(p5) = G_FRAME_INDEX %fixed-stack.0
# | next:753'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 3721: %98:_(p5) = G_FRAME_INDEX %fixed-stack.2
# | 3722: %64:_(s32) = G_LOAD %98(p5) :: (invariant load (s32) from %fixed-stack.2, addrspace 5)
# | 3723: %101:_(s32) = G_CONSTANT i32 9
# | 3724: %106:_(s64) = G_CONSTANT i64 0
# | 3725: %99:_(p5) = G_FRAME_INDEX %stack.0.alloca0
# | 3726: %100:_(p5) = G_FRAME_INDEX %stack.1.alloca1
# | next:924'0 X error: no match found
# | next:924'1 with "C" equal to "%101"
# | next:924'2 with "FRAME_INDEX34" equal to "%99"
# | 3727: G_STORE %101(s32), %99(p5) :: (store (s32) into %ir..fca.0.gep13, addrspace 5)
# | next:924'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 3728: %102:_(s32) = G_CONSTANT i32 4
# | next:924'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 3729: %103:_(p5) = nuw nusw inbounds G_PTR_ADD %99, %102(s32)
# | next:924'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 3730: G_STORE %101(s32), %103(p5) :: (store (s32) into %ir..fca.1.gep2, addrspace 5)
# | next:924'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 3731: %104:_(s32) = G_CONSTANT i32 8
# | next:924'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 3732: %105:_(p5) = nuw nusw inbounds G_PTR_ADD %99, %104(s32)
# | next:924'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 3733: G_STORE %101(s32), %105(p5) :: (store (s32) into %ir..fca.2.gep, addrspace 5)
# | next:924'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:924'3 ? possible intended match
# | 3734: G_STORE %106(s64), %100(p5) :: (store (s64) into %ir..fca.0.gep4, addrspace 5)
# | next:924'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 3735: %107:_(p5) = nuw nusw inbounds G_PTR_ADD %100, %104(s32)
# | next:924'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 3736: G_STORE %106(s64), %107(p5) :: (store (s64) into %ir..fca.1.gep, addrspace 5)
# | next:924'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 3737: %108:ccr_sgpr_64(p0) = G_GLOBAL_VALUE @void_fastcc_multi_byval
# | next:924'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 3738: %109:_(p4) = COPY %110(p4)
# | next:924'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 4270: %63:_(s32) = G_LOAD %97(p5) :: (invariant load (s32) from %fixed-stack.4, align 16, addrspace 5)
# | 4271: %98:_(p5) = G_FRAME_INDEX %fixed-stack.3
# | 4272: %64:_(s32) = G_LOAD %98(p5) :: (invariant load (s32) from %fixed-stack.3, addrspace 5)
# | 4273: %100:_(s32) = G_CONSTANT i32 9
# | 4274: %105:_(s32) = G_CONSTANT i32 0
# | 4275: %99:_(p5) = G_FRAME_INDEX %stack.0.alloca
# | next:1091'0 X error: no match found
# | next:1091'1 with "C" equal to "%100"
# | next:1091'2 with "FRAME_INDEX34" equal to "%99"
# | 4276: G_STORE %100(s32), %99(p5) :: (store (s32) into %ir..fca.0.gep1, addrspace 5)
# | next:1091'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:1091'3 ? possible intended match
# | 4277: %101:_(s32) = G_CONSTANT i32 4
# | next:1091'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 4278: %102:_(p5) = nuw nusw inbounds G_PTR_ADD %99, %101(s32)
# | next:1091'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 4279: G_STORE %100(s32), %102(p5) :: (store (s32) into %ir..fca.1.gep, addrspace 5)
# | next:1091'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 4280: %103:_(s32) = G_CONSTANT i32 8
# | next:1091'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 4281: %104:_(p5) = nuw nusw inbounds G_PTR_ADD %99, %103(s32)
# | next:1091'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>LLVM.CodeGen/AMDGPU/captured-frame-index.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -mtriple=amdgcn-- -mcpu=tahiti -mattr=-promote-alloca < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\captured-frame-index.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe -enable-var-scope -check-prefix=GCN C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\captured-frame-index.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -mtriple=amdgcn-- -mcpu=tahiti -mattr=-promote-alloca
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' -enable-var-scope -check-prefix=GCN 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\captured-frame-index.ll'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\captured-frame-index.ll:73:8: error: GCN: expected string not found in input
# | ; GCN: buffer_store_dword [[K1]], off, s{{\[[0-9]+:[0-9]+\]}}, 0 offset:2048{{$}}
# | ^
# | <stdin>:297:25: note: scanning from here
# | v_mov_b32_e32 v0, 0x4d2
# | ^
# | <stdin>:297:25: note: with "K1" equal to "v0"
# | v_mov_b32_e32 v0, 0x4d2
# | ^
# | <stdin>:298:2: note: possible intended match here
# | buffer_store_dword v0, off, s[12:15], 0 offset:4
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\captured-frame-index.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 292: s_add_u32 s12, s12, s11
# | 293: s_addc_u32 s13, s13, 0
# | 294: v_mov_b32_e32 v0, 32
# | 295: buffer_store_dword v0, off, s[12:15], 0
# | 296: s_waitcnt vmcnt(0) expcnt(0)
# | 297: v_mov_b32_e32 v0, 0x4d2
# | check:73'0 X error: no match found
# | check:73'1 with "K1" equal to "v0"
# | 298: buffer_store_dword v0, off, s[12:15], 0 offset:4
# | check:73'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:73'2 ? possible intended match
# | 299: s_waitcnt vmcnt(0) expcnt(0)
# | check:73'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 300: v_mov_b32_e32 v0, 4
# | check:73'0 ~~~~~~~~~~~~~~~~~~~~~
# | 301: buffer_store_dword v0, off, s[12:15], 0 offset:4
# | check:73'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 302: s_waitcnt vmcnt(0)
# | check:73'0 ~~~~~~~~~~~~~~~~~~~~
# | 303: s_endpgm
# | check:73'0 ~~~~~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>LLVM.CodeGen/AMDGPU/cgp-addressing-modes.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
c:\_work\llvm-project\llvm-project\build\bin\opt.exe -S -passes='require<profile-summary>,function(codegenprepare)' -mtriple=amdgcn-unknown-unknown -mcpu=tahiti < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\cgp-addressing-modes.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe -check-prefix=OPT -check-prefix=OPT-SI -check-prefix=OPT-SICIVI C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\cgp-addressing-modes.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\opt.exe' -S '-passes=require<profile-summary>,function(codegenprepare)' -mtriple=amdgcn-unknown-unknown -mcpu=tahiti
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' -check-prefix=OPT -check-prefix=OPT-SI -check-prefix=OPT-SICIVI 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\cgp-addressing-modes.ll'
# note: command had no output on stdout or stderr
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\opt.exe -S -passes='require<profile-summary>,function(codegenprepare)' -mtriple=amdgcn-unknown-unknown -mcpu=bonaire < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\cgp-addressing-modes.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe -check-prefix=OPT -check-prefix=OPT-CI -check-prefix=OPT-SICIVI C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\cgp-addressing-modes.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\opt.exe' -S '-passes=require<profile-summary>,function(codegenprepare)' -mtriple=amdgcn-unknown-unknown -mcpu=bonaire
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' -check-prefix=OPT -check-prefix=OPT-CI -check-prefix=OPT-SICIVI 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\cgp-addressing-modes.ll'
# note: command had no output on stdout or stderr
# RUN: at line 3
c:\_work\llvm-project\llvm-project\build\bin\opt.exe -S -passes='require<profile-summary>,function(codegenprepare)' -mtriple=amdgcn-unknown-unknown -mcpu=tonga -mattr=-flat-for-global < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\cgp-addressing-modes.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe -check-prefix=OPT -check-prefix=OPT-VI -check-prefix=OPT-SICIVI C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\cgp-addressing-modes.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\opt.exe' -S '-passes=require<profile-summary>,function(codegenprepare)' -mtriple=amdgcn-unknown-unknown -mcpu=tonga -mattr=-flat-for-global
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' -check-prefix=OPT -check-prefix=OPT-VI -check-prefix=OPT-SICIVI 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\cgp-addressing-modes.ll'
# note: command had no output on stdout or stderr
# RUN: at line 4
c:\_work\llvm-project\llvm-project\build\bin\opt.exe -S -passes='require<profile-summary>,function(codegenprepare)' -mtriple=amdgcn-unknown-unknown -mcpu=gfx900 < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\cgp-addressing-modes.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe -check-prefix=OPT -check-prefix=OPT-GFX9 C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\cgp-addressing-modes.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\opt.exe' -S '-passes=require<profile-summary>,function(codegenprepare)' -mtriple=amdgcn-unknown-unknown -mcpu=gfx900
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' -check-prefix=OPT -check-prefix=OPT-GFX9 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\cgp-addressing-modes.ll'
# note: command had no output on stdout or stderr
# RUN: at line 5
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -mtriple=amdgcn -mcpu=tahiti -mattr=-promote-alloca -amdgpu-scalarize-global-loads=false < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\cgp-addressing-modes.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe -check-prefix=GCN -check-prefix=SI -check-prefix=SICIVI C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\cgp-addressing-modes.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -mtriple=amdgcn -mcpu=tahiti -mattr=-promote-alloca -amdgpu-scalarize-global-loads=false
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' -check-prefix=GCN -check-prefix=SI -check-prefix=SICIVI 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\cgp-addressing-modes.ll'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\cgp-addressing-modes.ll:137:8: error: GCN: expected string not found in input
# | ; GCN: buffer_store_dword {{v[0-9]+}}, off, {{s\[[0-9]+:[0-9]+\]}}, 0 offset:4088{{$}}
# | ^
# | <stdin>:323:20: note: scanning from here
# | s_and_saveexec_b64 s[0:1], vcc
# | ^
# | <stdin>:330:2: note: possible intended match here
# | buffer_store_dwordx2 v[0:1], off, s[0:3], s4
# | ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\cgp-addressing-modes.ll:176:8: error: GCN: expected string not found in input
# | ; GCN: buffer_store_dword {{v[0-9]+}}, off, {{s\[[0-9]+:[0-9]+\]}}, 0 offset:4092{{$}}
# | ^
# | <stdin>:388:20: note: scanning from here
# | s_and_saveexec_b64 s[0:1], vcc
# | ^
# | <stdin>:395:2: note: possible intended match here
# | buffer_store_dwordx2 v[0:1], off, s[0:3], s4
# | ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\cgp-addressing-modes.ll:214:8: error: GCN: expected string not found in input
# | ; GCN: buffer_store_dword {{v[0-9]+}}, {{v[0-9]+}}, {{s\[[0-9]+:[0-9]+\]}}, 0 offen{{$}}
# | ^
# | <stdin>:453:20: note: scanning from here
# | s_and_saveexec_b64 s[0:1], vcc
# | ^
# | <stdin>:460:2: note: possible intended match here
# | buffer_store_dwordx2 v[0:1], off, s[0:3], s4
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\cgp-addressing-modes.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 318: test_sink_scratch_small_offset_i32: ; @test_sink_scratch_small_offset_i32
# | 319: ; %bb.0: ; %entry
# | 320: v_mbcnt_lo_u32_b32_e64 v0, -1, 0
# | 321: v_cmp_ne_u32_e32 vcc, 0, v0
# | 322: s_mov_b32 s2, -1
# | 323: s_and_saveexec_b64 s[0:1], vcc
# | check:137'0 X~~~~~~~~~~~~ error: no match found
# | 324: s_or_b64 exec, exec, s[0:1]
# | check:137'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 325: s_load_dwordx2 s[0:1], s[4:5], 0x9
# | check:137'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 326: s_mov_b32 s3, 0xf000
# | check:137'0 ~~~~~~~~~~~~~~~~~~~~~~
# | 327: s_mov_b32 s4, 0x3d08f8
# | check:137'0 ~~~~~~~~~~~~~~~~~~~~~~~~
# | 328: v_mov_b32_e32 v0, 0
# | check:137'0 ~~~~~~~~~~~~~~~~~~~~~
# | 329: s_waitcnt lgkmcnt(0)
# | check:137'0 ~~~~~~~~~~~~~~~~~~~~~~
# | 330: buffer_store_dwordx2 v[0:1], off, s[0:3], s4
# | check:137'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:137'1 ? possible intended match
# | 331: s_endpgm
# | check:137'0 ~~~~~~~~~~
# | 332: .Lfunc_end4:
# | check:137'0 ~~~~~~~~~~~~~
# | 333: .size test_sink_scratch_small_offset_i32, .Lfunc_end4-test_sink_scratch_small_offset_i32
# | check:137'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 334: ; -- End function
# | check:137'0 ~~~~~~~~~~~~~~~~~~~
# | 335: .set test_sink_scratch_small_offset_i32.num_vgpr, 2
# | check:137'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 383: test_sink_scratch_small_offset_i32_reserved: ; @test_sink_scratch_small_offset_i32_reserved
# | check:137'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 384: ; %bb.0: ; %entry
# | 385: v_mbcnt_lo_u32_b32_e64 v0, -1, 0
# | 386: v_cmp_ne_u32_e32 vcc, 0, v0
# | 387: s_mov_b32 s2, -1
# | 388: s_and_saveexec_b64 s[0:1], vcc
# | check:176'0 X~~~~~~~~~~~~ error: no match found
# | 389: s_or_b64 exec, exec, s[0:1]
# | check:176'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 390: s_load_dwordx2 s[0:1], s[4:5], 0x9
# | check:176'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 391: s_mov_b32 s3, 0xf000
# | check:176'0 ~~~~~~~~~~~~~~~~~~~~~~
# | 392: s_mov_b32 s4, 0x3d08f8
# | check:176'0 ~~~~~~~~~~~~~~~~~~~~~~~~
# | 393: v_mov_b32_e32 v0, 0
# | check:176'0 ~~~~~~~~~~~~~~~~~~~~~
# | 394: s_waitcnt lgkmcnt(0)
# | check:176'0 ~~~~~~~~~~~~~~~~~~~~~~
# | 395: buffer_store_dwordx2 v[0:1], off, s[0:3], s4
# | check:176'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:176'1 ? possible intended match
# | 396: s_endpgm
# | check:176'0 ~~~~~~~~~~
# | 397: .Lfunc_end5:
# | check:176'0 ~~~~~~~~~~~~~
# | 398: .size test_sink_scratch_small_offset_i32_reserved, .Lfunc_end5-test_sink_scratch_small_offset_i32_reserved
# | check:176'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 399: ; -- End function
# | check:176'0 ~~~~~~~~~~~~~~~~~~~
# | 400: .set test_sink_scratch_small_offset_i32_reserved.num_vgpr, 2
# | check:176'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 448: test_no_sink_scratch_large_offset_i32: ; @test_no_sink_scratch_large_offset_i32
# | check:176'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 449: ; %bb.0: ; %entry
# | 450: v_mbcnt_lo_u32_b32_e64 v0, -1, 0
# | 451: v_cmp_ne_u32_e32 vcc, 0, v0
# | 452: s_mov_b32 s2, -1
# | 453: s_and_saveexec_b64 s[0:1], vcc
# | check:214'0 X~~~~~~~~~~~~ error: no match found
# | 454: s_or_b64 exec, exec, s[0:1]
# | check:214'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 455: s_load_dwordx2 s[0:1], s[4:5], 0x9
# | check:214'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 456: s_mov_b32 s3, 0xf000
# | check:214'0 ~~~~~~~~~~~~~~~~~~~~~~
# | 457: s_mov_b32 s4, 0x3d08f8
# | check:214'0 ~~~~~~~~~~~~~~~~~~~~~~~~
# | 458: v_mov_b32_e32 v0, 0
# | check:214'0 ~~~~~~~~~~~~~~~~~~~~~
# | 459: s_waitcnt lgkmcnt(0)
# | check:214'0 ~~~~~~~~~~~~~~~~~~~~~~
# | 460: buffer_store_dwordx2 v[0:1], off, s[0:3], s4
# | check:214'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:214'1 ? possible intended match
# | 461: s_endpgm
# | check:214'0 ~~~~~~~~~~
# | 462: .Lfunc_end6:
# | check:214'0 ~~~~~~~~~~~~~
# | 463: .size test_no_sink_scratch_large_offset_i32, .Lfunc_end6-test_no_sink_scratch_large_offset_i32
# | check:214'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 464: ; -- End function
# | check:214'0 ~~~~~~~~~~~~~~~~~~~
# | 465: .set test_no_sink_scratch_large_offset_i32.num_vgpr, 2
# | check:214'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>LLVM.CodeGen/AMDGPU/extload-private.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -mtriple=amdgcn -mattr=-promote-alloca < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\extload-private.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe -check-prefix=SI -check-prefix=FUNC C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\extload-private.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -mtriple=amdgcn -mattr=-promote-alloca
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' -check-prefix=SI -check-prefix=FUNC 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\extload-private.ll'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\extload-private.ll:5:7: error: SI: expected string not found in input
# | ; SI: buffer_load_sbyte v{{[0-9]+}}, off, s[{{[0-9]+:[0-9]+}}], 0{{$}}
# | ^
# | <stdin>:16:22: note: scanning from here
# | load_i8_sext_private: ; @load_i8_sext_private
# | ^
# | <stdin>:23:2: note: possible intended match here
# | buffer_store_dword v0, off, s[0:3], 0
# | ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\extload-private.ll:16:7: error: SI: expected string not found in input
# | ; SI: buffer_load_ubyte v{{[0-9]+}}, off, s[{{[0-9]+:[0-9]+}}], 0{{$}}
# | ^
# | <stdin>:76:22: note: scanning from here
# | load_i8_zext_private: ; @load_i8_zext_private
# | ^
# | <stdin>:83:2: note: possible intended match here
# | buffer_store_dword v0, off, s[0:3], 0
# | ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\extload-private.ll:27:7: error: SI: expected string not found in input
# | ; SI: buffer_load_sshort v{{[0-9]+}}, off, s[{{[0-9]+:[0-9]+}}], 0{{$}}
# | ^
# | <stdin>:136:23: note: scanning from here
# | load_i16_sext_private: ; @load_i16_sext_private
# | ^
# | <stdin>:143:2: note: possible intended match here
# | buffer_store_dword v0, off, s[0:3], 0
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\extload-private.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 11: .long 0
# | 12: .text
# | 13: .globl load_i8_sext_private ; -- Begin function load_i8_sext_private
# | 14: .p2align 8
# | 15: .type load_i8_sext_private, at function
# | 16: load_i8_sext_private: ; @load_i8_sext_private
# | check:5'0 X~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# | 17: ; %bb.0: ; %entry
# | check:5'0 ~~~~~~~~~~~~~~~~~~
# | 18: s_load_dwordx2 s[0:1], s[4:5], 0x9
# | check:5'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 19: s_mov_b32 s3, 0xf000
# | check:5'0 ~~~~~~~~~~~~~~~~~~~~~~
# | 20: s_mov_b32 s2, -1
# | check:5'0 ~~~~~~~~~~~~~~~~~~
# | 21: v_mov_b32_e32 v0, 0
# | check:5'0 ~~~~~~~~~~~~~~~~~~~~~
# | 22: s_waitcnt lgkmcnt(0)
# | check:5'0 ~~~~~~~~~~~~~~~~~~~~~~
# | 23: buffer_store_dword v0, off, s[0:3], 0
# | check:5'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:5'1 ? possible intended match
# | 24: s_endpgm
# | check:5'0 ~~~~~~~~~~
# | 25: .Lfunc_end0:
# | check:5'0 ~~~~~~~~~~~~~
# | 26: .size load_i8_sext_private, .Lfunc_end0-load_i8_sext_private
# | check:5'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 27: ; -- End function
# | check:5'0 ~~~~~~~~~~~~~~~~~~~
# | 28: .set load_i8_sext_private.num_vgpr, 1
# | check:5'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 71: .long 0
# | check:5'0 ~~~~~~~~~
# | 72: .text
# | check:5'0 ~~~~~~~
# | 73: .globl load_i8_zext_private ; -- Begin function load_i8_zext_private
# | check:5'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 74: .p2align 8
# | check:5'0 ~~~~~~~~~~~~
# | 75: .type load_i8_zext_private, at function
# | check:5'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 76: load_i8_zext_private: ; @load_i8_zext_private
# | check:5'0 ~~~~~~~~~~~~~~~~~~~~~
# | check:16'0 X~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# | 77: ; %bb.0: ; %entry
# | check:16'0 ~~~~~~~~~~~~~~~~~~
# | 78: s_load_dwordx2 s[0:1], s[4:5], 0x9
# | check:16'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 79: s_mov_b32 s3, 0xf000
# | check:16'0 ~~~~~~~~~~~~~~~~~~~~~~
# | 80: s_mov_b32 s2, -1
# | check:16'0 ~~~~~~~~~~~~~~~~~~
# | 81: v_mov_b32_e32 v0, 0
# | check:16'0 ~~~~~~~~~~~~~~~~~~~~~
# | 82: s_waitcnt lgkmcnt(0)
# | check:16'0 ~~~~~~~~~~~~~~~~~~~~~~
# | 83: buffer_store_dword v0, off, s[0:3], 0
# | check:16'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:16'1 ? possible intended match
# | 84: s_endpgm
# | check:16'0 ~~~~~~~~~~
# | 85: .Lfunc_end1:
# | check:16'0 ~~~~~~~~~~~~~
# | 86: .size load_i8_zext_private, .Lfunc_end1-load_i8_zext_private
# | check:16'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 87: ; -- End function
# | check:16'0 ~~~~~~~~~~~~~~~~~~~
# | 88: .set load_i8_zext_private.num_vgpr, 1
# | check:16'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 131: .long 0
# | check:16'0 ~~~~~~~~~
# | 132: .text
# | check:16'0 ~~~~~~~
# | 133: .globl load_i16_sext_private ; -- Begin function load_i16_sext_private
# | check:16'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 134: .p2align 8
# | check:16'0 ~~~~~~~~~~~~
# | 135: .type load_i16_sext_private, at function
# | check:16'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 136: load_i16_sext_private: ; @load_i16_sext_private
# | check:16'0 ~~~~~~~~~~~~~~~~~~~~~~
# | check:27'0 X~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# | 137: ; %bb.0: ; %entry
# | check:27'0 ~~~~~~~~~~~~~~~~~~
# | 138: s_load_dwordx2 s[0:1], s[4:5], 0x9
# | check:27'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 139: s_mov_b32 s3, 0xf000
# | check:27'0 ~~~~~~~~~~~~~~~~~~~~~~
# | 140: s_mov_b32 s2, -1
# | check:27'0 ~~~~~~~~~~~~~~~~~~
# | 141: v_mov_b32_e32 v0, 0
# | check:27'0 ~~~~~~~~~~~~~~~~~~~~~
# | 142: s_waitcnt lgkmcnt(0)
# | check:27'0 ~~~~~~~~~~~~~~~~~~~~~~
# | 143: buffer_store_dword v0, off, s[0:3], 0
# | check:27'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:27'1 ? possible intended match
# | 144: s_endpgm
# | check:27'0 ~~~~~~~~~~
# | 145: .Lfunc_end2:
# | check:27'0 ~~~~~~~~~~~~~
# | 146: .size load_i16_sext_private, .Lfunc_end2-load_i16_sext_private
# | check:27'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 147: ; -- End function
# | check:27'0 ~~~~~~~~~~~~~~~~~~~
# | 148: .set load_i16_sext_private.num_vgpr, 1
# | check:27'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>LLVM.CodeGen/AMDGPU/fix-sgpr-copies-nondeterminism.ll</summary>
```
Exit Code: 2
Command Output (stdout):
--
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -mtriple=amdgcn -mcpu=gfx1100 < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\fix-sgpr-copies-nondeterminism.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\fix-sgpr-copies-nondeterminism.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -mtriple=amdgcn -mcpu=gfx1100
# .---command stderr------------
# | PHI nodes not grouped at top of basic block!
# | %i5 = phi i32 [ %arg1, Assertion failed: isa<To>(Val) && "cast<Ty>() argument of incompatible type!", file C:\_work\llvm-project\llvm-project\llvm\include\llvm/Support/Casting.h, line 572
# | PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace and instructions to reproduce the bug.
# | Stack dump:
# | 0. Program arguments: c:\\_work\\llvm-project\\llvm-project\\build\\bin\\llc.exe -mtriple=amdgcn -mcpu=gfx1100
# | 1. Running pass 'CallGraph Pass Manager' on module '<stdin>'.
# | 2. Running pass 'Module Verifier' on function '@f'
# | Exception Code: 0xC000001D
# | #0 0x00007ff7644940e6 (c:\_work\llvm-project\llvm-project\build\bin\llc.exe+0x2c540e6)
# | #1 0x00007ffc8867bb04 (C:\Windows\System32\ucrtbase.dll+0x7bb04)
# | #2 0x00007ffc8867cad1 (C:\Windows\System32\ucrtbase.dll+0x7cad1)
# | #3 0x00007ffc8867e4a1 (C:\Windows\System32\ucrtbase.dll+0x7e4a1)
# | #4 0x00007ffc8867e6e1 (C:\Windows\System32\ucrtbase.dll+0x7e6e1)
# | #5 0x00007ff762fab942 (c:\_work\llvm-project\llvm-project\build\bin\llc.exe+0x176b942)
# | #6 0x00007ff762fab3c3 (c:\_work\llvm-project\llvm-project\build\bin\llc.exe+0x176b3c3)
# | #7 0x00007ff762faa8d7 (c:\_work\llvm-project\llvm-project\build\bin\llc.exe+0x176a8d7)
# | #8 0x00007ff762fc33e6 (c:\_work\llvm-project\llvm-project\build\bin\llc.exe+0x17833e6)
# | #9 0x00007ff762fb9347 (c:\_work\llvm-project\llvm-project\build\bin\llc.exe+0x1779347)
# | #10 0x00007ff762fb72d5 (c:\_work\llvm-project\llvm-project\build\bin\llc.exe+0x17772d5)
# | #11 0x00007ff761d2e1db (c:\_work\llvm-project\llvm-project\build\bin\llc.exe+0x4ee1db)
# | #12 0x00007ff761d40007 (c:\_work\llvm-project\llvm-project\build\bin\llc.exe+0x500007)
# | #13 0x00007ff761d1d57f (c:\_work\llvm-project\llvm-project\build\bin\llc.exe+0x4dd57f)
# | #14 0x00007ff761d59995 (c:\_work\llvm-project\llvm-project\build\bin\llc.exe+0x519995)
# | #15 0x00007ff761cf82b2 (c:\_work\llvm-project\llvm-project\build\bin\llc.exe+0x4b82b2)
# | #16 0x00007ff7639238cb (c:\_work\llvm-project\llvm-project\build\bin\llc.exe+0x20e38cb)
# | #17 0x00007ff761cf8f91 (c:\_work\llvm-project\llvm-project\build\bin\llc.exe+0x4b8f91)
# | #18 0x00007ff761847c1c (c:\_work\llvm-project\llvm-project\build\bin\llc.exe+0x7c1c)
# | #19 0x00007ff761844e86 (c:\_work\llvm-project\llvm-project\build\bin\llc.exe+0x4e86)
# | #20 0x00007ff765e29604 (c:\_work\llvm-project\llvm-project\build\bin\llc.exe+0x45e9604)
# | #21 0x00007ffc91f74cb0 (C:\Windows\System32\KERNEL32.DLL+0x14cb0)
# | #22 0x00007ffc9bcdedcb (C:\Windows\SYSTEM32\ntdll.dll+0x7edcb)
# `-----------------------------
# error: command failed with exit status: 0xc000001d
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\fix-sgpr-copies-nondeterminism.ll'
# .---command stderr------------
# | FileCheck error: '<stdin>' is empty.
# | FileCheck command line: c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\fix-sgpr-copies-nondeterminism.ll
# `-----------------------------
# error: command failed with exit status: 2
--
```
</details>
<details>
<summary>LLVM.CodeGen/AMDGPU/flat-scratch-alloca-issue-155902.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -O0 -mtriple=amdgcn-amd-amdhsa -mcpu=gfx950 < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\flat-scratch-alloca-issue-155902.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\flat-scratch-alloca-issue-155902.ll --check-prefix=GFX950
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -O0 -mtriple=amdgcn-amd-amdhsa -mcpu=gfx950
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\flat-scratch-alloca-issue-155902.ll' --check-prefix=GFX950
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\flat-scratch-alloca-issue-155902.ll:8:16: error: GFX950-NEXT: expected string not found in input
# | ; GFX950-NEXT: s_mov_b32 s33, 0x4008
# | ^
# | <stdin>:8:15: note: scanning from here
# | ; %bb.0: ; %bb
# | ^
# | <stdin>:35:20: note: possible intended match here
# | .amdhsa_float_round_mode_32 0
# | ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\flat-scratch-alloca-issue-155902.ll:237:16: error: GFX950-NEXT: expected string not found in input
# | ; GFX950-NEXT: s_add_i32 s1, s33, 0x4008
# | ^
# | <stdin>:99:18: note: scanning from here
# | s_mov_b32 s33, 0
# | ^
# | <stdin>:102:3: note: possible intended match here
# | .p2align 6, 0x0
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\flat-scratch-alloca-issue-155902.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | 1: .amdgcn_target "amdgcn-amd-amdhsa--gfx950"
# | 2: .amdhsa_code_object_version 6
# | 3: .text
# | 4: .globl issue155902 ; -- Begin function issue155902
# | 5: .p2align 8
# | 6: .type issue155902, at function
# | 7: issue155902: ; @issue155902
# | 8: ; %bb.0: ; %bb
# | next:8'0 X error: no match found
# | 9: s_endpgm
# | next:8'0 ~~~~~~~~~~
# | 10: .section .rodata,"a", at progbits
# | next:8'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 11: .p2align 6, 0x0
# | next:8'0 ~~~~~~~~~~~~~~~~~
# | 12: .amdhsa_kernel issue155902
# | next:8'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 13: .amdhsa_group_segment_fixed_size 0
# | next:8'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 30: .amdhsa_system_vgpr_workitem_id 2
# | next:8'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 31: .amdhsa_next_free_vgpr 1
# | next:8'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 32: .amdhsa_next_free_sgpr 0
# | next:8'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 33: .amdhsa_accum_offset 4
# | next:8'0 ~~~~~~~~~~~~~~~~~~~~~~~~
# | 34: .amdhsa_reserve_vcc 0
# | next:8'0 ~~~~~~~~~~~~~~~~~~~~~~~
# | 35: .amdhsa_float_round_mode_32 0
# | next:8'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:8'1 ? possible intended match
# | 36: .amdhsa_float_round_mode_16_64 0
# | next:8'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 37: .amdhsa_float_denorm_mode_32 3
# | next:8'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 38: .amdhsa_float_denorm_mode_16_64 3
# | next:8'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 39: .amdhsa_dx10_clamp 1
# | next:8'0 ~~~~~~~~~~~~~~~~~~~~~~
# | 40: .amdhsa_ieee_mode 1
# | next:8'0 ~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 94: .globl issue155902_fp ; -- Begin function issue155902_fp
# | next:8'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 95: .p2align 8
# | next:8'0 ~~~~~~~~~~~~
# | 96: .type issue155902_fp, at function
# | next:8'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 97: issue155902_fp: ; @issue155902_fp
# | next:8'0 ~~~~~~~~~~~~~~~
# | 98: ; %bb.0: ; %bb
# | 99: s_mov_b32 s33, 0
# | next:237'0 X error: no match found
# | 100: s_endpgm
# | next:237'0 ~~~~~~~~~~
# | 101: .section .rodata,"a", at progbits
# | next:237'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 102: .p2align 6, 0x0
# | next:237'0 ~~~~~~~~~~~~~~~~~
# | next:237'1 ? possible intended match
# | 103: .amdhsa_kernel issue155902_fp
# | next:237'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 104: .amdhsa_group_segment_fixed_size 0
# | next:237'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 105: .amdhsa_private_segment_fixed_size 0
# | next:237'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 106: .amdhsa_kernarg_size 656
# | next:237'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 107: .amdhsa_user_sgpr_count 8
# | next:237'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>LLVM.CodeGen/AMDGPU/flat-scratch.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -mtriple=amdgcn -mcpu=gfx900 -mattr=-promote-alloca -mattr=+enable-flat-scratch < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\flat-scratch.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe --check-prefix=GFX9 C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\flat-scratch.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -mtriple=amdgcn -mcpu=gfx900 -mattr=-promote-alloca -mattr=+enable-flat-scratch
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' --check-prefix=GFX9 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\flat-scratch.ll'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\flat-scratch.ll:1090:14: error: GFX9-NEXT: expected string not found in input
# | ; GFX9-NEXT: scratch_store_dwordx4 off, v[0:3], s0 offset:256
# | ^
# | <stdin>:440:22: note: scanning from here
# | v_mov_b32_e32 v3, s3
# | ^
# | <stdin>:442:2: note: possible intended match here
# | scratch_store_dwordx4 off, v[0:3], s0 offset:20
# | ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\flat-scratch.ll:1306:14: error: GFX9-NEXT: expected string not found in input
# | ; GFX9-NEXT: scratch_store_dwordx4 off, v[0:3], s32 offset:256
# | ^
# | <stdin>:509:22: note: scanning from here
# | v_mov_b32_e32 v3, s3
# | ^
# | <stdin>:511:2: note: possible intended match here
# | scratch_store_dwordx4 off, v[0:3], s32 offset:20
# | ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\flat-scratch.ll:1494:14: error: GFX9-NEXT: expected string not found in input
# | ; GFX9-NEXT: s_addk_i32 s1, 0x100
# | ^
# | <stdin>:561:22: note: scanning from here
# | v_mov_b32_e32 v0, 15
# | ^
# | <stdin>:562:2: note: possible intended match here
# | s_add_i32 s1, s1, 4
# | ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\flat-scratch.ll:1716:14: error: GFX9-NEXT: expected string not found in input
# | ; GFX9-NEXT: s_addk_i32 s0, 0x100
# | ^
# | <stdin>:632:22: note: scanning from here
# | s_lshl_b32 s0, s2, 2
# | ^
# | <stdin>:633:2: note: possible intended match here
# | s_add_i32 s0, s0, 4
# | ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\flat-scratch.ll:1926:14: error: GFX9-NEXT: expected string not found in input
# | ; GFX9-NEXT: v_add_u32_e32 v1, 0x100, v0
# | ^
# | <stdin>:704:22: note: scanning from here
# | s_lshl_b32 s0, s0, 7
# | ^
# | <stdin>:705:2: note: possible intended match here
# | v_add_u32_e32 v1, 4, v0
# | ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\flat-scratch.ll:2149:14: error: GFX9-NEXT: expected string not found in input
# | ; GFX9-NEXT: s_add_i32 s1, s32, 0x100
# | ^
# | <stdin>:767:41: note: scanning from here
# | s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
# | ^
# | <stdin>:768:2: note: possible intended match here
# | s_add_i32 s1, s32, 4
# | ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\flat-scratch.ll:2317:14: error: GFX9-NEXT: expected string not found in input
# | ; GFX9-NEXT: scratch_load_dword v0, off, s0 offset:4 glc
# | ^
# | <stdin>:820:17: note: scanning from here
# | s_mov_b32 s0, 0
# | ^
# | <stdin>:821:2: note: possible intended match here
# | scratch_load_dword v0, off, s0 glc
# | ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\flat-scratch.ll:2540:14: error: GFX9-NEXT: expected string not found in input
# | ; GFX9-NEXT: scratch_load_dword v0, off, s32 offset:4 glc
# | ^
# | <stdin>:888:41: note: scanning from here
# | s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
# | ^
# | <stdin>:889:2: note: possible intended match here
# | scratch_load_dword v0, off, s32 glc
# | ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\flat-scratch.ll:2785:14: error: GFX9-NEXT: expected string not found in input
# | ; GFX9-NEXT: scratch_load_dword v0, off, s1 offset:4 glc
# | ^
# | <stdin>:945:17: note: scanning from here
# | s_mov_b32 s1, 0
# | ^
# | <stdin>:946:2: note: possible intended match here
# | scratch_load_dword v0, off, s1 glc
# | ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\flat-scratch.ll:3009:14: error: GFX9-NEXT: expected string not found in input
# | ; GFX9-NEXT: scratch_load_dword v0, off, s0 offset:4 glc
# | ^
# | <stdin>:1018:17: note: scanning from here
# | s_mov_b32 s0, 0
# | ^
# | <stdin>:1019:2: note: possible intended match here
# | scratch_load_dword v0, off, s0 glc
# | ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\flat-scratch.ll:3217:14: error: GFX9-NEXT: expected string not found in input
# | ; GFX9-NEXT: scratch_load_dword v1, off, s1 offset:4 glc
# | ^
# | <stdin>:1088:17: note: scanning from here
# | s_mov_b32 s1, 0
# | ^
# | <stdin>:1089:2: note: possible intended match here
# | scratch_load_dword v1, off, s1 glc
# | ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\flat-scratch.ll:3450:14: error: GFX9-NEXT: expected string not found in input
# | ; GFX9-NEXT: s_add_i32 s1, s32, 0x4004
# | ^
# | <stdin>:1156:41: note: scanning from here
# | s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
# | ^
# | <stdin>:1157:2: note: possible intended match here
# | s_add_i32 s1, s32, 4
# | ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\flat-scratch.ll:3622:14: error: GFX9-NEXT: is not on the line after the previous match
# | ; GFX9-NEXT: scratch_store_dword off, v0, s0 offset:4
# | ^
# | <stdin>:1214:2: note: 'next' match was here
# | scratch_store_dword off, v0, s0 offset:4
# | ^
# | <stdin>:1210:17: note: previous match ended here
# | s_mov_b32 s0, 0
# | ^
# | <stdin>:1211:1: note: non-matching line after previous match is here
# | scratch_store_dword off, v0, s0
# | ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\flat-scratch.ll:3793:14: error: GFX9-NEXT: expected string not found in input
# | ; GFX9-NEXT: s_movk_i32 s0, 0x3000
# | ^
# | <stdin>:1272:41: note: scanning from here
# | s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
# | ^
# | <stdin>:1273:2: note: possible intended match here
# | v_mov_b32_e32 v0, 13
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\flat-scratch.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 435: s_mov_b32 s2, s0
# | 436: s_mov_b32 s3, s0
# | 437: v_mov_b32_e32 v0, s0
# | 438: v_mov_b32_e32 v1, s1
# | 439: v_mov_b32_e32 v2, s2
# | 440: v_mov_b32_e32 v3, s3
# | next:1090'0 X error: no match found
# | 441: scratch_store_dwordx4 off, v[0:3], s0 offset:4
# | next:1090'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 442: scratch_store_dwordx4 off, v[0:3], s0 offset:20
# | next:1090'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:1090'1 ? possible intended match
# | 443: scratch_store_dwordx4 off, v[0:3], s0 offset:36
# | next:1090'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 444: scratch_store_dwordx4 off, v[0:3], s0 offset:52
# | next:1090'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 445: s_endpgm
# | next:1090'0 ~~~~~~~~~~
# | 446: .Lfunc_end7:
# | next:1090'0 ~~~~~~~~~~~~~
# | 447: .size zero_init_small_offset_kernel, .Lfunc_end7-zero_init_small_offset_kernel
# | next:1090'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 504: s_mov_b32 s2, s0
# | 505: s_mov_b32 s3, s0
# | 506: v_mov_b32_e32 v0, s0
# | 507: v_mov_b32_e32 v1, s1
# | 508: v_mov_b32_e32 v2, s2
# | 509: v_mov_b32_e32 v3, s3
# | next:1306'0 X error: no match found
# | 510: scratch_store_dwordx4 off, v[0:3], s32 offset:4
# | next:1306'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 511: scratch_store_dwordx4 off, v[0:3], s32 offset:20
# | next:1306'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:1306'1 ? possible intended match
# | 512: scratch_store_dwordx4 off, v[0:3], s32 offset:36
# | next:1306'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 513: scratch_store_dwordx4 off, v[0:3], s32 offset:52
# | next:1306'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 514: s_waitcnt vmcnt(0)
# | next:1306'0 ~~~~~~~~~~~~~~~~~~~~
# | 515: s_setpc_b64 s[30:31]
# | next:1306'0 ~~~~~~~~~~~~~~~~~~~~~~
# | 516: .Lfunc_end8:
# | next:1306'0 ~~~~~~~~~~~~~
# | .
# | .
# | .
# | 556: s_mov_b32 s1, 0
# | 557: scratch_load_dword v0, off, s1 glc
# | 558: s_waitcnt vmcnt(0) lgkmcnt(0)
# | 559: s_lshl_b32 s1, s0, 2
# | 560: s_and_b32 s0, s0, 15
# | 561: v_mov_b32_e32 v0, 15
# | next:1494'0 X error: no match found
# | 562: s_add_i32 s1, s1, 4
# | next:1494'0 ~~~~~~~~~~~~~~~~~~~~~
# | next:1494'1 ? possible intended match
# | 563: s_lshl_b32 s0, s0, 2
# | next:1494'0 ~~~~~~~~~~~~~~~~~~~~~~
# | 564: scratch_store_dword off, v0, s1
# | next:1494'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 565: s_waitcnt vmcnt(0)
# | next:1494'0 ~~~~~~~~~~~~~~~~~~~~
# | 566: s_add_i32 s0, s0, 4
# | next:1494'0 ~~~~~~~~~~~~~~~~~~~~~
# | 567: scratch_load_dword v0, off, s0 glc
# | next:1494'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 627: s_add_u32 flat_scratch_lo, s0, s3
# | 628: s_addc_u32 flat_scratch_hi, s1, 0
# | 629: s_mov_b32 s0, 0
# | 630: scratch_load_dword v0, off, s0 glc
# | 631: s_waitcnt vmcnt(0)
# | 632: s_lshl_b32 s0, s2, 2
# | next:1716'0 X error: no match found
# | 633: s_add_i32 s0, s0, 4
# | next:1716'0 ~~~~~~~~~~~~~~~~~~~~~
# | next:1716'1 ? possible intended match
# | 634: v_mov_b32_e32 v0, 15
# | next:1716'0 ~~~~~~~~~~~~~~~~~~~~~~
# | 635: scratch_store_dword off, v0, s0
# | next:1716'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 636: s_waitcnt vmcnt(0)
# | next:1716'0 ~~~~~~~~~~~~~~~~~~~~
# | 637: s_and_b32 s0, s2, 15
# | next:1716'0 ~~~~~~~~~~~~~~~~~~~~~~
# | 638: s_lshl_b32 s0, s0, 2
# | next:1716'0 ~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 699: s_mov_b32 s1, 0
# | 700: scratch_load_dword v1, off, s1 glc
# | 701: s_waitcnt vmcnt(0)
# | 702: v_lshlrev_b32_e32 v0, 2, v0
# | 703: s_waitcnt lgkmcnt(0)
# | 704: s_lshl_b32 s0, s0, 7
# | next:1926'0 X error: no match found
# | 705: v_add_u32_e32 v1, 4, v0
# | next:1926'0 ~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:1926'1 ? possible intended match
# | 706: s_add_i32 s0, s0, 4
# | next:1926'0 ~~~~~~~~~~~~~~~~~~~~~
# | 707: v_mov_b32_e32 v2, 15
# | next:1926'0 ~~~~~~~~~~~~~~~~~~~~~~
# | 708: scratch_store_dword v1, v2, off offset:128
# | next:1926'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 709: s_waitcnt vmcnt(0)
# | next:1926'0 ~~~~~~~~~~~~~~~~~~~~
# | 710: v_sub_u32_e32 v0, s0, v0
# | next:1926'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 762: .globl store_load_vindex_small_offset_foo ; -- Begin function store_load_vindex_small_offset_foo
# | next:1926'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 763: .p2align 2
# | next:1926'0 ~~~~~~~~~~~~
# | 764: .type store_load_vindex_small_offset_foo, at function
# | next:1926'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 765: store_load_vindex_small_offset_foo: ; @store_load_vindex_small_offset_foo
# | next:1926'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 766: ; %bb.0: ; %bb
# | 767: s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
# | next:2149'0 X error: no match found
# | 768: s_add_i32 s1, s32, 4
# | next:2149'0 ~~~~~~~~~~~~~~~~~~~~~~
# | next:2149'1 ? possible intended match
# | 769: scratch_load_dword v1, off, s32 glc
# | next:2149'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 770: s_waitcnt vmcnt(0)
# | next:2149'0 ~~~~~~~~~~~~~~~~~~~~
# | 771: s_mov_b32 s0, s1
# | next:2149'0 ~~~~~~~~~~~~~~~~~~
# | 772: v_lshl_add_u32 v1, v0, 2, s0
# | next:2149'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 773: v_mov_b32_e32 v2, 15
# | next:2149'0 ~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 815: .type zero_init_large_offset_kernel, at function
# | next:2149'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 816: zero_init_large_offset_kernel: ; @zero_init_large_offset_kernel
# | next:2149'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 817: ; %bb.0:
# | 818: s_add_u32 flat_scratch_lo, s8, s13
# | 819: s_addc_u32 flat_scratch_hi, s9, 0
# | 820: s_mov_b32 s0, 0
# | next:2317'0 X error: no match found
# | 821: scratch_load_dword v0, off, s0 glc
# | next:2317'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:2317'1 ? possible intended match
# | 822: s_waitcnt vmcnt(0)
# | next:2317'0 ~~~~~~~~~~~~~~~~~~~~
# | 823: s_mov_b32 s1, s0
# | next:2317'0 ~~~~~~~~~~~~~~~~~~
# | 824: s_mov_b32 s2, s0
# | next:2317'0 ~~~~~~~~~~~~~~~~~~
# | 825: s_mov_b32 s3, s0
# | next:2317'0 ~~~~~~~~~~~~~~~~~~
# | 826: v_mov_b32_e32 v0, s0
# | next:2317'0 ~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 883: .globl zero_init_large_offset_foo ; -- Begin function zero_init_large_offset_foo
# | next:2317'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 884: .p2align 2
# | next:2317'0 ~~~~~~~~~~~~
# | 885: .type zero_init_large_offset_foo, at function
# | next:2317'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 886: zero_init_large_offset_foo: ; @zero_init_large_offset_foo
# | next:2317'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 887: ; %bb.0:
# | 888: s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
# | next:2540'0 X error: no match found
# | 889: scratch_load_dword v0, off, s32 glc
# | next:2540'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:2540'1 ? possible intended match
# | 890: s_waitcnt vmcnt(0)
# | next:2540'0 ~~~~~~~~~~~~~~~~~~~~
# | 891: s_mov_b32 s0, 0
# | next:2540'0 ~~~~~~~~~~~~~~~~~
# | 892: s_mov_b32 s1, s0
# | next:2540'0 ~~~~~~~~~~~~~~~~~~
# | 893: s_mov_b32 s2, s0
# | next:2540'0 ~~~~~~~~~~~~~~~~~~
# | 894: s_mov_b32 s3, s0
# | next:2540'0 ~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 940: store_load_sindex_large_offset_kernel: ; @store_load_sindex_large_offset_kernel
# | next:2540'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 941: ; %bb.0: ; %bb
# | 942: s_load_dword s0, s[4:5], 0x24
# | 943: s_add_u32 flat_scratch_lo, s8, s13
# | 944: s_addc_u32 flat_scratch_hi, s9, 0
# | 945: s_mov_b32 s1, 0
# | next:2785'0 X error: no match found
# | 946: scratch_load_dword v0, off, s1 glc
# | next:2785'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:2785'1 ? possible intended match
# | 947: s_waitcnt vmcnt(0) lgkmcnt(0)
# | next:2785'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 948: s_lshl_b32 s1, s0, 2
# | next:2785'0 ~~~~~~~~~~~~~~~~~~~~~~
# | 949: s_and_b32 s0, s0, 15
# | next:2785'0 ~~~~~~~~~~~~~~~~~~~~~~
# | 950: v_mov_b32_e32 v0, 15
# | next:2785'0 ~~~~~~~~~~~~~~~~~~~~~~
# | 951: s_add_i32 s1, s1, 4
# | next:2785'0 ~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 1013: .type store_load_sindex_large_offset_foo, at function
# | next:2785'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1014: store_load_sindex_large_offset_foo: ; @store_load_sindex_large_offset_foo
# | next:2785'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1015: ; %bb.0: ; %bb
# | 1016: s_add_u32 flat_scratch_lo, s0, s3
# | 1017: s_addc_u32 flat_scratch_hi, s1, 0
# | 1018: s_mov_b32 s0, 0
# | next:3009'0 X error: no match found
# | 1019: scratch_load_dword v0, off, s0 glc
# | next:3009'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:3009'1 ? possible intended match
# | 1020: s_waitcnt vmcnt(0)
# | next:3009'0 ~~~~~~~~~~~~~~~~~~~~
# | 1021: s_lshl_b32 s0, s2, 2
# | next:3009'0 ~~~~~~~~~~~~~~~~~~~~~~
# | 1022: s_add_i32 s0, s0, 4
# | next:3009'0 ~~~~~~~~~~~~~~~~~~~~~
# | 1023: v_mov_b32_e32 v0, 15
# | next:3009'0 ~~~~~~~~~~~~~~~~~~~~~~
# | 1024: scratch_store_dword off, v0, s0
# | next:3009'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 1083: store_load_vindex_large_offset_kernel: ; @store_load_vindex_large_offset_kernel
# | next:3009'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1084: ; %bb.0: ; %bb
# | 1085: s_load_dword s0, s[4:5], 0x24
# | 1086: s_add_u32 flat_scratch_lo, s8, s13
# | 1087: s_addc_u32 flat_scratch_hi, s9, 0
# | 1088: s_mov_b32 s1, 0
# | next:3217'0 X error: no match found
# | 1089: scratch_load_dword v1, off, s1 glc
# | next:3217'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:3217'1 ? possible intended match
# | 1090: s_waitcnt vmcnt(0)
# | next:3217'0 ~~~~~~~~~~~~~~~~~~~~
# | 1091: v_lshlrev_b32_e32 v0, 2, v0
# | next:3217'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1092: s_waitcnt lgkmcnt(0)
# | next:3217'0 ~~~~~~~~~~~~~~~~~~~~~~
# | 1093: s_lshl_b32 s0, s0, 7
# | next:3217'0 ~~~~~~~~~~~~~~~~~~~~~~
# | 1094: v_add_u32_e32 v1, 4, v0
# | next:3217'0 ~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 1151: .globl store_load_vindex_large_offset_foo ; -- Begin function store_load_vindex_large_offset_foo
# | next:3217'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1152: .p2align 2
# | next:3217'0 ~~~~~~~~~~~~
# | 1153: .type store_load_vindex_large_offset_foo, at function
# | next:3217'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1154: store_load_vindex_large_offset_foo: ; @store_load_vindex_large_offset_foo
# | next:3217'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1155: ; %bb.0: ; %bb
# | 1156: s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
# | next:3450'0 X error: no match found
# | 1157: s_add_i32 s1, s32, 4
# | next:3450'0 ~~~~~~~~~~~~~~~~~~~~~~
# | next:3450'1 ? possible intended match
# | 1158: scratch_load_dword v1, off, s32 glc
# | next:3450'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1159: s_waitcnt vmcnt(0)
# | next:3450'0 ~~~~~~~~~~~~~~~~~~~~
# | 1160: s_mov_b32 s0, s1
# | next:3450'0 ~~~~~~~~~~~~~~~~~~
# | 1161: v_lshl_add_u32 v1, v0, 2, s0
# | next:3450'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1162: v_mov_b32_e32 v2, 15
# | next:3450'0 ~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 1209: v_mov_b32_e32 v0, 13
# | 1210: s_mov_b32 s0, 0
# | 1211: scratch_store_dword off, v0, s0
# | 1212: s_waitcnt vmcnt(0)
# | 1213: v_mov_b32_e32 v0, 15
# | 1214: scratch_store_dword off, v0, s0 offset:4
# | next:3622 !~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: match on wrong line
# | 1215: s_waitcnt vmcnt(0)
# | 1216: scratch_load_dword v0, off, s0 offset:4 glc
# | 1217: s_waitcnt vmcnt(0)
# | 1218: s_endpgm
# | 1219: .Lfunc_end19:
# | .
# | .
# | .
# | 1267: .globl store_load_large_imm_offset_foo ; -- Begin function store_load_large_imm_offset_foo
# | 1268: .p2align 2
# | 1269: .type store_load_large_imm_offset_foo, at function
# | 1270: store_load_large_imm_offset_foo: ; @store_load_large_imm_offset_foo
# | 1271: ; %bb.0: ; %bb
# | 1272: s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
# | next:3793'0 X error: no match found
# | 1273: v_mov_b32_e32 v0, 13
# | next:3793'0 ~~~~~~~~~~~~~~~~~~~~~~
# | next:3793'1 ? possible intended match
# | 1274: scratch_store_dword off, v0, s32
# | next:3793'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1275: s_waitcnt vmcnt(0)
# | next:3793'0 ~~~~~~~~~~~~~~~~~~~~
# | 1276: v_mov_b32_e32 v0, 15
# | next:3793'0 ~~~~~~~~~~~~~~~~~~~~~~
# | 1277: scratch_store_dword off, v0, s32 offset:4
# | next:3793'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1278: s_waitcnt vmcnt(0)
# | next:3793'0 ~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>LLVM.CodeGen/AMDGPU/frame-index-elimination.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -mtriple=amdgcn-amd-amdhsa -mcpu=kaveri -mattr=-promote-alloca < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\frame-index-elimination.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe -enable-var-scope -check-prefixes=GCN,CI,MUBUF C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\frame-index-elimination.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -mtriple=amdgcn-amd-amdhsa -mcpu=kaveri -mattr=-promote-alloca
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' -enable-var-scope -check-prefixes=GCN,CI,MUBUF 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\frame-index-elimination.ll'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\frame-index-elimination.ll:194:10: error: MUBUF: expected string not found in input
# | ; MUBUF: s_addk_i32 [[SCALED]], 0x200
# | ^
# | <stdin>:315:23: note: scanning from here
# | s_lshr_b32 s5, s32, 6
# | ^
# | <stdin>:315:23: note: with "SCALED" equal to "s5"
# | s_lshr_b32 s5, s32, 6
# | ^
# | <stdin>:316:2: note: possible intended match here
# | s_add_i32 s5, s5, 4
# | ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\frame-index-elimination.ll:218:10: error: MUBUF: expected string not found in input
# | ; MUBUF: s_addk_i32 [[SCALED]], 0x200
# | ^
# | <stdin>:353:23: note: scanning from here
# | s_lshr_b32 s5, s32, 6
# | ^
# | <stdin>:353:23: note: with "SCALED" equal to "s5"
# | s_lshr_b32 s5, s32, 6
# | ^
# | <stdin>:354:2: note: possible intended match here
# | s_add_i32 s5, s5, 4
# | ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\frame-index-elimination.ll:339:7: error: CI: expected string not found in input
# | ; CI: v_lshr_b32_e64 [[SCALED_FP:v[0-9]+]], s33, 6
# | ^
# | <stdin>:647:23: note: scanning from here
# | fi_vop3_literal_error: ; @fi_vop3_literal_error
# | ^
# | <stdin>:650:2: note: possible intended match here
# | s_mov_b32 s4, s33
# | ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\frame-index-elimination.ll:364:8: error: GCN: expected string not found in input
# | ; GCN: s_add_u32 [[ADD_LO:s[0-9]+]], 0x1010, [[S_MOVK_I32_]]
# | ^
# | <stdin>:693:23: note: scanning from here
# | s_movk_i32 s4, 0x1000
# | ^
# | <stdin>:693:23: note: with "S_MOVK_I32_" equal to "s4"
# | s_movk_i32 s4, 0x1000
# | ^
# | <stdin>:694:2: note: possible intended match here
# | s_add_u32 s4, 16, s4
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\frame-index-elimination.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 310: .p2align 2
# | 311: .type func_other_fi_user_non_inline_imm_offset_i32, at function
# | 312: func_other_fi_user_non_inline_imm_offset_i32: ; @func_other_fi_user_non_inline_imm_offset_i32
# | 313: ; %bb.0:
# | 314: s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
# | 315: s_lshr_b32 s5, s32, 6
# | check:194'0 X error: no match found
# | check:194'1 with "SCALED" equal to "s5"
# | 316: s_add_i32 s5, s5, 4
# | check:194'0 ~~~~~~~~~~~~~~~~~~~~~
# | check:194'2 ? possible intended match
# | 317: v_mov_b32_e32 v0, 7
# | check:194'0 ~~~~~~~~~~~~~~~~~~~~~
# | 318: s_mul_i32 s4, s5, 9
# | check:194'0 ~~~~~~~~~~~~~~~~~~~~~
# | 319: buffer_store_dword v0, off, s[0:3], s32
# | check:194'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 320: s_waitcnt vmcnt(0)
# | check:194'0 ~~~~~~~~~~~~~~~~~~~~
# | 321: v_mov_b32_e32 v0, s4
# | check:194'0 ~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 348: .p2align 2
# | check:194'0 ~~~~~~~~~~~~
# | 349: .type func_other_fi_user_non_inline_imm_offset_i32_vcc_live, at function
# | check:194'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 350: func_other_fi_user_non_inline_imm_offset_i32_vcc_live: ; @func_other_fi_user_non_inline_imm_offset_i32_vcc_live
# | check:194'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 351: ; %bb.0:
# | 352: s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
# | 353: s_lshr_b32 s5, s32, 6
# | check:218'0 X error: no match found
# | check:218'1 with "SCALED" equal to "s5"
# | 354: s_add_i32 s5, s5, 4
# | check:218'0 ~~~~~~~~~~~~~~~~~~~~~
# | check:218'2 ? possible intended match
# | 355: v_mov_b32_e32 v0, 7
# | check:218'0 ~~~~~~~~~~~~~~~~~~~~~
# | 356: s_mul_i32 s4, s5, 9
# | check:218'0 ~~~~~~~~~~~~~~~~~~~~~
# | 357: ;;#ASMSTART
# | check:218'0 ~~~~~~~~~~~~~
# | 358: ; def vcc
# | check:218'0 ~~~~~~~~~~~
# | 359: ;;#ASMEND
# | check:218'0 ~~~~~~~~~~~
# | .
# | .
# | .
# | 642: ; COMPUTE_PGM_RSRC2:TIDIG_COMP_CNT: 2
# | 643: .text
# | 644: .globl fi_vop3_literal_error ; -- Begin function fi_vop3_literal_error
# | 645: .p2align 2
# | 646: .type fi_vop3_literal_error, at function
# | 647: fi_vop3_literal_error: ; @fi_vop3_literal_error
# | check:339'0 X~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# | 648: ; %bb.0: ; %entry
# | check:339'0 ~~~~~~~~~~~~~~~~~~
# | 649: s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
# | check:339'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 650: s_mov_b32 s4, s33
# | check:339'0 ~~~~~~~~~~~~~~~~~~~
# | check:339'1 ? possible intended match
# | 651: s_add_i32 s33, s32, 0xfc0
# | check:339'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 652: s_and_b32 s33, s33, 0xfffff000
# | check:339'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 653: buffer_load_dword v0, off, s[0:3], s33 glc
# | check:339'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 654: s_waitcnt vmcnt(0)
# | check:339'0 ~~~~~~~~~~~~~~~~~~~~
# | 655: buffer_load_dword v0, off, s[0:3], s33 offset:4 glc
# | check:339'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 688: fi_sop2_s_add_u32_literal_error: ; @fi_sop2_s_add_u32_literal_error
# | check:339'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 689: ; %bb.0: ; %entry
# | 690: s_load_dword s5, s[8:9], 0x30
# | 691: s_add_u32 s0, s0, s17
# | 692: s_addc_u32 s1, s1, 0
# | 693: s_movk_i32 s4, 0x1000
# | check:364'0 X error: no match found
# | check:364'1 with "S_MOVK_I32_" equal to "s4"
# | 694: s_add_u32 s4, 16, s4
# | check:364'0 ~~~~~~~~~~~~~~~~~~~~~~
# | check:364'2 ? possible intended match
# | 695: s_waitcnt lgkmcnt(0)
# | check:364'0 ~~~~~~~~~~~~~~~~~~~~~~
# | 696: s_addc_u32 s5, s5, 0
# | check:364'0 ~~~~~~~~~~~~~~~~~~~~~~
# | 697: v_cmp_lt_u64_e64 s[4:5], s[4:5], 2
# | check:364'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 698: v_mov_b32_e32 v0, 0
# | check:364'0 ~~~~~~~~~~~~~~~~~~~~~
# | 699: buffer_store_dword v0, off, s[0:3], 0 offset:4
# | check:364'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>LLVM.CodeGen/AMDGPU/insert_vector_elt.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -mtriple=amdgcn-amd-amdhsa -mcpu=kaveri -mattr=-flat-for-global,+max-private-element-size-16 < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\insert_vector_elt.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe -enable-var-scope -check-prefixes=GCN,SI C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\insert_vector_elt.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -mtriple=amdgcn-amd-amdhsa -mcpu=kaveri -mattr=-flat-for-global,+max-private-element-size-16
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' -enable-var-scope -check-prefixes=GCN,SI 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\insert_vector_elt.ll'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\insert_vector_elt.ll:1157:12: error: SI-NEXT: expected string not found in input
# | ; SI-NEXT: s_load_dwordx8 s[0:7], s[8:9], 0x8
# | ^
# | <stdin>:2562:9: note: scanning from here
# | ; %bb.0:
# | ^
# | <stdin>:2613:38: note: possible intended match here
# | .set dynamic_insertelement_v8i32.uses_flat_scratch, 0
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\insert_vector_elt.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 2557: .text
# | 2558: .globl dynamic_insertelement_v8i32 ; -- Begin function dynamic_insertelement_v8i32
# | 2559: .p2align 8
# | 2560: .type dynamic_insertelement_v8i32, at function
# | 2561: dynamic_insertelement_v8i32: ; @dynamic_insertelement_v8i32
# | 2562: ; %bb.0:
# | next:1157'0 X error: no match found
# | 2563: s_endpgm
# | next:1157'0 ~~~~~~~~~~
# | 2564: .section .rodata,"a", at progbits
# | next:1157'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 2565: .p2align 6, 0x0
# | next:1157'0 ~~~~~~~~~~~~~~~~~
# | 2566: .amdhsa_kernel dynamic_insertelement_v8i32
# | next:1157'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 2567: .amdhsa_group_segment_fixed_size 0
# | next:1157'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 2608: .set dynamic_insertelement_v8i32.num_agpr, 0
# | next:1157'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 2609: .set dynamic_insertelement_v8i32.numbered_sgpr, 0
# | next:1157'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 2610: .set dynamic_insertelement_v8i32.num_named_barrier, 0
# | next:1157'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 2611: .set dynamic_insertelement_v8i32.private_seg_size, 0
# | next:1157'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 2612: .set dynamic_insertelement_v8i32.uses_vcc, 0
# | next:1157'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 2613: .set dynamic_insertelement_v8i32.uses_flat_scratch, 0
# | next:1157'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:1157'1 ? possible intended match
# | 2614: .set dynamic_insertelement_v8i32.has_dyn_sized_stack, 0
# | next:1157'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 2615: .set dynamic_insertelement_v8i32.has_recursion, 0
# | next:1157'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 2616: .set dynamic_insertelement_v8i32.has_indirect_call, 0
# | next:1157'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 2617: .section .AMDGPU.csdata,"", at progbits
# | next:1157'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 2618: ; Kernel info:
# | next:1157'0 ~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>LLVM.CodeGen/AMDGPU/llc-pipeline.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -O0 -mtriple=amdgcn--amdhsa -disable-verify -debug-pass=Structure < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\llc-pipeline.ll 2>&1 | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe -match-full-lines -strict-whitespace -check-prefix=GCN-O0 C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\llc-pipeline.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -O0 -mtriple=amdgcn--amdhsa -disable-verify -debug-pass=Structure
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' -match-full-lines -strict-whitespace -check-prefix=GCN-O0 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\llc-pipeline.ll'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\llc-pipeline.ll:58:15: error: GCN-O0-NEXT: is not on the line after the previous match
# | ; GCN-O0-NEXT: Lower buffer fat pointer operations to buffer resources
# | ^
# | <stdin>:48:1: note: 'next' match was here
# | Lower buffer fat pointer operations to buffer resources
# | ^
# | <stdin>:43:36: note: previous match ended here
# | AMDGPU Lower Kernel Arguments
# | ^
# | <stdin>:44:1: note: non-matching line after previous match is here
# | Dominator Tree Construction
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\llc-pipeline.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 43: AMDGPU Lower Kernel Arguments
# | 44: Dominator Tree Construction
# | 45: Natural Loop Information
# | 46: AMDGPU TDM Descriptor Optimization
# | 47: SROA
# | 48: Lower buffer fat pointer operations to buffer resources
# | next:58 !~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: match on wrong line
# | 49: AMDGPU lower intrinsics
# | 50: FunctionPass Manager
# | 51: Lazy Value Information Analysis
# | 52: Lower SwitchInst's to branches
# | 53: Lower invoke and unwind, for unwindless code generators
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>LLVM.CodeGen/AMDGPU/load-hi16.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -mtriple=amdgcn -mcpu=gfx900 -mattr=-promote-alloca < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\load-hi16.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe -check-prefixes=GFX900 C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\load-hi16.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -mtriple=amdgcn -mcpu=gfx900 -mattr=-promote-alloca
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' -check-prefixes=GFX900 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\load-hi16.ll'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\load-hi16.ll:2045:16: error: GFX900-NEXT: expected string not found in input
# | ; GFX900-NEXT: buffer_load_short_d16_hi v0, off, s[0:3], s32 offset:4058
# | ^
# | <stdin>:1752:20: note: scanning from here
# | s_waitcnt vmcnt(0)
# | ^
# | <stdin>:1755:2: note: possible intended match here
# | global_store_dword v[0:1], v0, off
# | ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\load-hi16.ll:2106:16: error: GFX900-NEXT: is not on the line after the previous match
# | ; GFX900-NEXT: buffer_store_dword v2, v1, s[0:3], 0 offen
# | ^
# | <stdin>:1798:2: note: 'next' match was here
# | buffer_store_dword v2, v1, s[0:3], 0 offen
# | ^
# | <stdin>:1796:24: note: previous match ended here
# | v_mov_b32_e32 v2, 0x7b
# | ^
# | <stdin>:1797:1: note: non-matching line after previous match is here
# | v_and_b32_e32 v0, 0xffff, v0
# | ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\load-hi16.ll:2170:16: error: GFX900-NEXT: is not on the line after the previous match
# | ; GFX900-NEXT: buffer_store_dword v2, v1, s[0:3], 0 offen
# | ^
# | <stdin>:1843:2: note: 'next' match was here
# | buffer_store_dword v2, v1, s[0:3], 0 offen
# | ^
# | <stdin>:1841:24: note: previous match ended here
# | v_mov_b32_e32 v2, 0x7b
# | ^
# | <stdin>:1842:1: note: non-matching line after previous match is here
# | v_and_b32_e32 v0, 0xffff, v0
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\load-hi16.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 1747: load_private_hi_v2i16_reglo_vreg_to_offset: ; @load_private_hi_v2i16_reglo_vreg_to_offset
# | 1748: ; %bb.0: ; %entry
# | 1749: s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
# | 1750: v_mov_b32_e32 v2, 0x7b
# | 1751: buffer_store_dword v2, v1, s[0:3], 0 offen
# | 1752: s_waitcnt vmcnt(0)
# | next:2045'0 X error: no match found
# | 1753: v_mov_b32_e32 v1, 0x5040100
# | next:2045'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1754: v_perm_b32 v0, s4, v0, v1
# | next:2045'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1755: global_store_dword v[0:1], v0, off
# | next:2045'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:2045'1 ? possible intended match
# | 1756: s_waitcnt vmcnt(0)
# | next:2045'0 ~~~~~~~~~~~~~~~~~~~~
# | 1757: s_setpc_b64 s[30:31]
# | next:2045'0 ~~~~~~~~~~~~~~~~~~~~~~
# | 1758: .Lfunc_end40:
# | next:2045'0 ~~~~~~~~~~~~~~
# | 1759: .size load_private_hi_v2i16_reglo_vreg_to_offset, .Lfunc_end40-load_private_hi_v2i16_reglo_vreg_to_offset
# | next:2045'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1760: ; -- End function
# | next:2045'0 ~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 1793: load_private_hi_v2i16_reglo_vreg_sexti8_to_offset: ; @load_private_hi_v2i16_reglo_vreg_sexti8_to_offset
# | next:2045'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1794: ; %bb.0: ; %entry
# | 1795: s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
# | 1796: v_mov_b32_e32 v2, 0x7b
# | 1797: v_and_b32_e32 v0, 0xffff, v0
# | 1798: buffer_store_dword v2, v1, s[0:3], 0 offen
# | next:2106 !~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: match on wrong line
# | 1799: s_waitcnt vmcnt(0)
# | 1800: global_store_dword v[0:1], v0, off
# | 1801: s_waitcnt vmcnt(0)
# | 1802: s_setpc_b64 s[30:31]
# | 1803: .Lfunc_end41:
# | .
# | .
# | .
# | 1838: load_private_hi_v2i16_reglo_vreg_zexti8_to_offset: ; @load_private_hi_v2i16_reglo_vreg_zexti8_to_offset
# | 1839: ; %bb.0: ; %entry
# | 1840: s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
# | 1841: v_mov_b32_e32 v2, 0x7b
# | 1842: v_and_b32_e32 v0, 0xffff, v0
# | 1843: buffer_store_dword v2, v1, s[0:3], 0 offen
# | next:2170 !~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: match on wrong line
# | 1844: s_waitcnt vmcnt(0)
# | 1845: global_store_dword v[0:1], v0, off
# | 1846: s_waitcnt vmcnt(0)
# | 1847: s_setpc_b64 s[30:31]
# | 1848: .Lfunc_end42:
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>LLVM.CodeGen/AMDGPU/load-lo16.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -mtriple=amdgcn -mcpu=gfx900 -mattr=-promote-alloca < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\load-lo16.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe -check-prefixes=GFX900,GFX900-MUBUF C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\load-lo16.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -mtriple=amdgcn -mcpu=gfx900 -mattr=-promote-alloca
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' -check-prefixes=GFX900,GFX900-MUBUF 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\load-lo16.ll'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\load-lo16.ll:1996:22: error: GFX900-MUBUF-NEXT: expected string not found in input
# | ; GFX900-MUBUF-NEXT: buffer_store_dword v1, off, s[0:3], s32 offset:4
# | ^
# | <stdin>:1892:24: note: scanning from here
# | v_mov_b32_e32 v1, 0x7b
# | ^
# | <stdin>:1893:2: note: possible intended match here
# | buffer_store_dword v1, off, s[0:3], s32
# | ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\load-lo16.ll:2064:22: error: GFX900-MUBUF-NEXT: expected string not found in input
# | ; GFX900-MUBUF-NEXT: buffer_store_dword v1, off, s[0:3], s32 offset:4
# | ^
# | <stdin>:1938:24: note: scanning from here
# | v_mov_b32_e32 v1, 0x7b
# | ^
# | <stdin>:1939:2: note: possible intended match here
# | buffer_store_dword v1, off, s[0:3], s32
# | ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\load-lo16.ll:2133:22: error: GFX900-MUBUF-NEXT: expected string not found in input
# | ; GFX900-MUBUF-NEXT: buffer_store_dword v1, off, s[0:3], s32 offset:4
# | ^
# | <stdin>:1984:24: note: scanning from here
# | v_mov_b32_e32 v1, 0x7b
# | ^
# | <stdin>:1985:2: note: possible intended match here
# | buffer_store_dword v1, off, s[0:3], s32
# | ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\load-lo16.ll:2202:22: error: GFX900-MUBUF-NEXT: expected string not found in input
# | ; GFX900-MUBUF-NEXT: buffer_store_dword v1, off, s[0:3], s32 offset:4
# | ^
# | <stdin>:2030:24: note: scanning from here
# | v_mov_b32_e32 v1, 0x7b
# | ^
# | <stdin>:2031:2: note: possible intended match here
# | buffer_store_dword v1, off, s[0:3], s32
# | ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\load-lo16.ll:2272:22: error: GFX900-MUBUF-NEXT: expected string not found in input
# | ; GFX900-MUBUF-NEXT: buffer_store_dword v1, off, s[0:3], s32 offset:4
# | ^
# | <stdin>:2076:24: note: scanning from here
# | v_mov_b32_e32 v1, 0x7b
# | ^
# | <stdin>:2077:2: note: possible intended match here
# | buffer_store_dword v1, off, s[0:3], s32
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\load-lo16.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 1887: .p2align 2
# | 1888: .type load_private_lo_v2i16_reglo_vreg_to_offset, at function
# | 1889: load_private_lo_v2i16_reglo_vreg_to_offset: ; @load_private_lo_v2i16_reglo_vreg_to_offset
# | 1890: ; %bb.0: ; %entry
# | 1891: s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
# | 1892: v_mov_b32_e32 v1, 0x7b
# | next:1996'0 X error: no match found
# | 1893: buffer_store_dword v1, off, s[0:3], s32
# | next:1996'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:1996'1 ? possible intended match
# | 1894: s_waitcnt vmcnt(0)
# | next:1996'0 ~~~~~~~~~~~~~~~~~~~~
# | 1895: buffer_load_short_d16 v0, off, s[0:3], s32 offset:4 glc
# | next:1996'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1896: s_waitcnt vmcnt(0)
# | next:1996'0 ~~~~~~~~~~~~~~~~~~~~
# | 1897: global_store_dword v[0:1], v0, off
# | next:1996'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1898: s_waitcnt vmcnt(0)
# | next:1996'0 ~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 1933: .p2align 2
# | next:1996'0 ~~~~~~~~~~~~
# | 1934: .type load_private_lo_v2i16_reglo_vreg_sexti8_to_offset, at function
# | next:1996'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1935: load_private_lo_v2i16_reglo_vreg_sexti8_to_offset: ; @load_private_lo_v2i16_reglo_vreg_sexti8_to_offset
# | next:1996'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1936: ; %bb.0: ; %entry
# | 1937: s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
# | 1938: v_mov_b32_e32 v1, 0x7b
# | next:2064'0 X error: no match found
# | 1939: buffer_store_dword v1, off, s[0:3], s32
# | next:2064'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:2064'1 ? possible intended match
# | 1940: s_waitcnt vmcnt(0)
# | next:2064'0 ~~~~~~~~~~~~~~~~~~~~
# | 1941: buffer_load_sbyte_d16 v0, off, s[0:3], s32 offset:4 glc
# | next:2064'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1942: s_waitcnt vmcnt(0)
# | next:2064'0 ~~~~~~~~~~~~~~~~~~~~
# | 1943: global_store_dword v[0:1], v0, off
# | next:2064'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1944: s_waitcnt vmcnt(0)
# | next:2064'0 ~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 1979: .p2align 2
# | next:2064'0 ~~~~~~~~~~~~
# | 1980: .type load_private_lo_v2i16_reglo_vreg_zexti8_to_offset, at function
# | next:2064'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1981: load_private_lo_v2i16_reglo_vreg_zexti8_to_offset: ; @load_private_lo_v2i16_reglo_vreg_zexti8_to_offset
# | next:2064'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1982: ; %bb.0: ; %entry
# | 1983: s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
# | 1984: v_mov_b32_e32 v1, 0x7b
# | next:2133'0 X error: no match found
# | 1985: buffer_store_dword v1, off, s[0:3], s32
# | next:2133'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:2133'1 ? possible intended match
# | 1986: s_waitcnt vmcnt(0)
# | next:2133'0 ~~~~~~~~~~~~~~~~~~~~
# | 1987: buffer_load_ubyte_d16 v0, off, s[0:3], s32 offset:4 glc
# | next:2133'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1988: s_waitcnt vmcnt(0)
# | next:2133'0 ~~~~~~~~~~~~~~~~~~~~
# | 1989: global_store_dword v[0:1], v0, off
# | next:2133'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1990: s_waitcnt vmcnt(0)
# | next:2133'0 ~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 2025: .p2align 2
# | next:2133'0 ~~~~~~~~~~~~
# | 2026: .type load_private_lo_v2f16_reglo_vreg_sexti8_to_offset, at function
# | next:2133'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 2027: load_private_lo_v2f16_reglo_vreg_sexti8_to_offset: ; @load_private_lo_v2f16_reglo_vreg_sexti8_to_offset
# | next:2133'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 2028: ; %bb.0: ; %entry
# | 2029: s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
# | 2030: v_mov_b32_e32 v1, 0x7b
# | next:2202'0 X error: no match found
# | 2031: buffer_store_dword v1, off, s[0:3], s32
# | next:2202'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:2202'1 ? possible intended match
# | 2032: s_waitcnt vmcnt(0)
# | next:2202'0 ~~~~~~~~~~~~~~~~~~~~
# | 2033: buffer_load_sbyte_d16 v0, off, s[0:3], s32 offset:4 glc
# | next:2202'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 2034: s_waitcnt vmcnt(0)
# | next:2202'0 ~~~~~~~~~~~~~~~~~~~~
# | 2035: global_store_dword v[0:1], v0, off
# | next:2202'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 2036: s_waitcnt vmcnt(0)
# | next:2202'0 ~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 2071: .p2align 2
# | next:2202'0 ~~~~~~~~~~~~
# | 2072: .type load_private_lo_v2f16_reglo_vreg_zexti8_to_offset, at function
# | next:2202'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 2073: load_private_lo_v2f16_reglo_vreg_zexti8_to_offset: ; @load_private_lo_v2f16_reglo_vreg_zexti8_to_offset
# | next:2202'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 2074: ; %bb.0: ; %entry
# | 2075: s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
# | 2076: v_mov_b32_e32 v1, 0x7b
# | next:2272'0 X error: no match found
# | 2077: buffer_store_dword v1, off, s[0:3], s32
# | next:2272'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:2272'1 ? possible intended match
# | 2078: s_waitcnt vmcnt(0)
# | next:2272'0 ~~~~~~~~~~~~~~~~~~~~
# | 2079: buffer_load_ubyte_d16 v0, off, s[0:3], s32 offset:4 glc
# | next:2272'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 2080: s_waitcnt vmcnt(0)
# | next:2272'0 ~~~~~~~~~~~~~~~~~~~~
# | 2081: global_store_dword v[0:1], v0, off
# | next:2272'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 2082: s_waitcnt vmcnt(0)
# | next:2272'0 ~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>LLVM.CodeGen/AMDGPU/mdt-preserving-crash.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -mtriple=amdgcn-amd-amdhsa -mcpu=gfx900 < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\mdt-preserving-crash.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\mdt-preserving-crash.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -mtriple=amdgcn-amd-amdhsa -mcpu=gfx900
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\mdt-preserving-crash.ll'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\mdt-preserving-crash.ll:12:15: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: s_add_u32 s0, s0, s17
# | ^
# | <stdin>:12:28: note: scanning from here
# | flat_load_dword v0, v[0:1]
# | ^
# | <stdin>:15:2: note: possible intended match here
# | s_add_u32 s20, s20, s17
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\mdt-preserving-crash.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 7: .type _RSENC_PRInit__________________________________, at function
# | 8: _RSENC_PRInit__________________________________: ; @_RSENC_PRInit__________________________________
# | 9: ; %bb.0: ; %entry
# | 10: s_add_u32 flat_scratch_lo, s12, s17
# | 11: s_addc_u32 flat_scratch_hi, s13, 0
# | 12: flat_load_dword v0, v[0:1]
# | next:12'0 X error: no match found
# | 13: s_mov_b64 s[22:23], s[2:3]
# | next:12'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 14: s_mov_b64 s[20:21], s[0:1]
# | next:12'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 15: s_add_u32 s20, s20, s17
# | next:12'0 ~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:12'1 ? possible intended match
# | 16: s_mov_b32 s0, 0xf19b3
# | next:12'0 ~~~~~~~~~~~~~~~~~~~~~~~
# | 17: s_addc_u32 s21, s21, 0
# | next:12'0 ~~~~~~~~~~~~~~~~~~~~~~~~
# | 18: s_waitcnt vmcnt(0) lgkmcnt(0)
# | next:12'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 19: v_lshl_add_u32 v0, v0, 1, v0
# | next:12'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 20: v_cmp_ne_u32_e32 vcc, s0, v0
# | next:12'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>LLVM.CodeGen/AMDGPU/memory-legalizer-store-infinite-loop.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -mtriple=amdgcn--amdhsa < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\memory-legalizer-store-infinite-loop.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe -check-prefix=GCN C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\memory-legalizer-store-infinite-loop.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -mtriple=amdgcn--amdhsa
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' -check-prefix=GCN 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\memory-legalizer-store-infinite-loop.ll'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\memory-legalizer-store-infinite-loop.ll:15:13: error: GCN-NEXT: expected string not found in input
# | ; GCN-NEXT: s_add_u32 s0, s0, s17
# | ^
# | <stdin>:11:36: note: scanning from here
# | s_lshr_b32 flat_scratch_hi, s12, 8
# | ^
# | <stdin>:18:2: note: possible intended match here
# | s_add_u32 s0, s0, 4
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\memory-legalizer-store-infinite-loop.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 6: .type _Z6brokenPd, at function
# | 7: _Z6brokenPd: ; @_Z6brokenPd
# | 8: ; %bb.0: ; %bb
# | 9: s_mov_b32 flat_scratch_lo, s13
# | 10: s_add_i32 s12, s12, s17
# | 11: s_lshr_b32 flat_scratch_hi, s12, 8
# | next:15'0 X error: no match found
# | 12: s_load_dwordx2 s[0:1], s[8:9], 0x0
# | next:15'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 13: v_mov_b32_e32 v2, 0
# | next:15'0 ~~~~~~~~~~~~~~~~~~~~~
# | 14: v_mov_b32_e32 v3, 0x7ff80000
# | next:15'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 15: s_waitcnt lgkmcnt(0)
# | next:15'0 ~~~~~~~~~~~~~~~~~~~~~~
# | 16: v_mov_b32_e32 v0, s0
# | next:15'0 ~~~~~~~~~~~~~~~~~~~~~~
# | 17: v_mov_b32_e32 v1, s1
# | next:15'0 ~~~~~~~~~~~~~~~~~~~~~~
# | 18: s_add_u32 s0, s0, 4
# | next:15'0 ~~~~~~~~~~~~~~~~~~~~~
# | next:15'1 ? possible intended match
# | 19: s_addc_u32 s1, s1, 0
# | next:15'0 ~~~~~~~~~~~~~~~~~~~~~~
# | 20: flat_store_dword v[0:1], v2
# | next:15'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 21: v_mov_b32_e32 v0, s0
# | next:15'0 ~~~~~~~~~~~~~~~~~~~~~~
# | 22: v_mov_b32_e32 v1, s1
# | next:15'0 ~~~~~~~~~~~~~~~~~~~~~~
# | 23: flat_store_dword v[0:1], v3
# | next:15'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>LLVM.CodeGen/AMDGPU/nested-calls.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -mtriple=amdgcn -mcpu=fiji -mattr=-flat-for-global < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\nested-calls.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe -enable-var-scope -check-prefixes=GCN,FIJI C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\nested-calls.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -mtriple=amdgcn -mcpu=fiji -mattr=-flat-for-global
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' -enable-var-scope -check-prefixes=GCN,FIJI 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\nested-calls.ll'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\nested-calls.ll:53:13: error: GCN-NEXT: expected string not found in input
# | ; GCN-NEXT: buffer_store_dword v40, off, s[0:3], s33 offset:64 ; 4-byte Folded Spill
# | ^
# | <stdin>:85:32: note: scanning from here
# | s_or_saveexec_b64 s[18:19], -1
# | ^
# | <stdin>:86:2: note: possible intended match here
# | buffer_store_dword v40, off, s[0:3], s33 offset:4 ; 4-byte Folded Spill
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\nested-calls.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 80: test_func_call_external_void_func_i32_imm_stack_use: ; @test_func_call_external_void_func_i32_imm_stack_use
# | 81: ; %bb.0:
# | 82: s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
# | 83: s_mov_b32 s16, s33
# | 84: s_mov_b32 s33, s32
# | 85: s_or_saveexec_b64 s[18:19], -1
# | next:53'0 X error: no match found
# | 86: buffer_store_dword v40, off, s[0:3], s33 offset:4 ; 4-byte Folded Spill
# | next:53'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:53'1 ? possible intended match
# | 87: s_mov_b64 exec, s[18:19]
# | next:53'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 88: s_addk_i32 s32, 0x400
# | next:53'0 ~~~~~~~~~~~~~~~~~~~~~~~
# | 89: v_writelane_b32 v40, s16, 2
# | next:53'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 90: s_getpc_b64 s[16:17]
# | next:53'0 ~~~~~~~~~~~~~~~~~~~~~~
# | 91: s_add_u32 s16, s16, external_void_func_i32 at gotpcrel32@lo+4
# | next:53'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>LLVM.CodeGen/AMDGPU/parallelandifcollapse.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -mtriple=r600 -mcpu=redwood -mattr=-promote-alloca < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\parallelandifcollapse.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\parallelandifcollapse.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -mtriple=r600 -mcpu=redwood -mattr=-promote-alloca
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\parallelandifcollapse.ll'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\parallelandifcollapse.ll:6:10: error: CHECK: expected string not found in input
# | ; CHECK: AND_INT
# | ^
# | <stdin>:1:1: note: scanning from here
# | .section .AMDGPU.config,"", at progbits
# | ^
# | <stdin>:17:9: note: possible intended match here
# | PRED_SETNE_INT * Pred,PredicateBit (MASKED), PV.W, 0.0,
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\parallelandifcollapse.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | 1: .section .AMDGPU.config,"", at progbits
# | check:6'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# | 2: .long 166100
# | check:6'0 ~~~~~~~~~~~~~~
# | 3: .long 1
# | check:6'0 ~~~~~~~~~
# | 4: .long 165900
# | check:6'0 ~~~~~~~~~~~~~~
# | 5: .long 0
# | check:6'0 ~~~~~~~~~
# | 6: .long 166120
# | check:6'0 ~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 12: _Z9chk1D_512v: ; @_Z9chk1D_512v
# | check:6'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 13: ; %bb.0: ; %entry
# | check:6'0 ~~~~~~~~~~~~~~~~~~
# | 14: ALU 2, @0, KC0[], KC1[]
# | check:6'0 ~~~~~~~~~~~~~~~~~~~~~~~~~
# | 15: MOV * T0.W, literal.x,
# | check:6'0 ~~~~~~~~~~~~~~~~~~~~~~~~~
# | 16: 0(0.000000e+00), 0(0.000000e+00)
# | check:6'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 17: PRED_SETNE_INT * Pred,PredicateBit (MASKED), PV.W, 0.0,
# | check:6'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:6'1 ? possible intended match
# | 18: RETURN
# | check:6'0 ~~~~~~~~
# | 19:
# | check:6'0 ~
# | 20: .Lfunc_end0:
# | check:6'0 ~~~~~~~~~~~~~
# | 21: .size _Z9chk1D_512v, .Lfunc_end0-_Z9chk1D_512v
# | check:6'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 22: ; -- End function
# | check:6'0 ~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>LLVM.CodeGen/AMDGPU/required-export-priority.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -mtriple=amdgcn -mcpu=gfx1150 -amdgpu-enable-vopd=0 < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\required-export-priority.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe -check-prefix=GCN C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\required-export-priority.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -mtriple=amdgcn -mcpu=gfx1150 -amdgpu-enable-vopd=0
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' -check-prefix=GCN 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\required-export-priority.ll'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\required-export-priority.ll:269:13: error: GCN-NEXT: expected string not found in input
# | ; GCN-NEXT: v_cndmask_b32_e32 v0, 16, v2, vcc_lo
# | ^
# | <stdin>:889:33: note: scanning from here
# | s_delay_alu instid0(VALU_DEP_2)
# | ^
# | <stdin>:890:2: note: possible intended match here
# | v_cndmask_b32_e32 v0, 8, v2, vcc_lo
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\required-export-priority.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 884: test_export_across_store_load: ; @test_export_across_store_load
# | 885: ; %bb.0:
# | 886: s_setprio 2
# | 887: v_mov_b32_e32 v2, 0
# | 888: v_cmp_eq_u32_e32 vcc_lo, 1, v0
# | 889: s_delay_alu instid0(VALU_DEP_2)
# | next:269'0 X error: no match found
# | 890: v_cndmask_b32_e32 v0, 8, v2, vcc_lo
# | next:269'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:269'1 ? possible intended match
# | 891: v_mov_b32_e32 v2, 0
# | next:269'0 ~~~~~~~~~~~~~~~~~~~~~
# | 892: scratch_store_b32 v0, v1, off
# | next:269'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 893: scratch_load_b32 v0, off, off
# | next:269'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 894: v_mov_b32_e32 v1, 1.0
# | next:269'0 ~~~~~~~~~~~~~~~~~~~~~~~
# | 895: exp pos0 v2, v2, v2, v1 done
# | next:269'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>LLVM.CodeGen/AMDGPU/resource-optimization-remarks.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -mtriple=amdgcn-amd-amdhsa -mcpu=gfx908 -pass-remarks-output=C:\_work\llvm-project\llvm-project\build\test\CodeGen\AMDGPU\Output\resource-optimization-remarks.ll.tmp -pass-remarks-analysis=kernel-resource-usage -filetype=null C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\resource-optimization-remarks.ll 2>&1 | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe -check-prefix=STDERR C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\resource-optimization-remarks.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -mtriple=amdgcn-amd-amdhsa -mcpu=gfx908 '-pass-remarks-output=C:\_work\llvm-project\llvm-project\build\test\CodeGen\AMDGPU\Output\resource-optimization-remarks.ll.tmp' -pass-remarks-analysis=kernel-resource-usage -filetype=null 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\resource-optimization-remarks.ll'
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' -check-prefix=STDERR 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\resource-optimization-remarks.ll'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\resource-optimization-remarks.ll:165:16: error: STDERR-NEXT: expected string not found in input
# | ; STDERR-NEXT: remark: foo.cl:74:0: ScratchSize [bytes/lane]: 144
# | ^
# | <stdin>:34:66: note: scanning from here
# | remark: foo.cl:74:0: AGPRs: test_indirect_w_static_stack.num_agpr
# | ^
# | <stdin>:35:1: note: possible intended match here
# | remark: foo.cl:74:0: ScratchSize [bytes/lane]: 48
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\resource-optimization-remarks.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 29: remark: foo.cl:64:0: VGPRs Spill: 0
# | 30: remark: foo.cl:64:0: LDS Size [bytes/block]: 0
# | 31: remark: foo.cl:74:0: Function Name: test_indirect_w_static_stack
# | 32: remark: foo.cl:74:0: TotalSGPRs: test_indirect_w_static_stack.numbered_sgpr+6
# | 33: remark: foo.cl:74:0: VGPRs: test_indirect_w_static_stack.num_vgpr
# | 34: remark: foo.cl:74:0: AGPRs: test_indirect_w_static_stack.num_agpr
# | next:165'0 X error: no match found
# | 35: remark: foo.cl:74:0: ScratchSize [bytes/lane]: 48
# | next:165'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:165'1 ? possible intended match
# | 36: remark: foo.cl:74:0: Dynamic Stack: True
# | next:165'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 37: remark: foo.cl:74:0: Occupancy [waves/SIMD]: occupancy(10, 4, 256, 8, 10, max(test_indirect_w_static_stack.numbered_sgpr+extrasgprs(test_indirect_w_static_stack.uses_vcc, test_indirect_w_static_stack.uses_flat_scratch, 1), 1, 0), max(totalnumvgprs(test_indirect_w_static_stack.num_agpr, test_indirect_w_static_stack.num_vgpr), 1, 0))
# | next:165'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 38: remark: foo.cl:74:0: SGPRs Spill: 0
# | next:165'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 39: remark: foo.cl:74:0: VGPRs Spill: 0
# | next:165'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 40: remark: foo.cl:74:0: LDS Size [bytes/block]: 0
# | next:165'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>LLVM.CodeGen/AMDGPU/sibling-call.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -mtriple=amdgcn-amd-amdhsa -mcpu=fiji -mattr=-flat-for-global -enable-ipra=0 < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\sibling-call.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe -enable-var-scope -check-prefixes=GCN,FIJI C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\sibling-call.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -mtriple=amdgcn-amd-amdhsa -mcpu=fiji -mattr=-flat-for-global -enable-ipra=0
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' -enable-var-scope -check-prefixes=GCN,FIJI 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\sibling-call.ll'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\sibling-call.ll:35:14: error: FIJI-NEXT: expected string not found in input
# | ; FIJI-NEXT: buffer_store_dword v2, off, s[0:3], s32 offset:20
# | ^
# | <stdin>:40:31: note: scanning from here
# | v_add_u32_e32 v0, vcc, v0, v1
# | ^
# | <stdin>:41:2: note: possible intended match here
# | buffer_store_dword v2, off, s[0:3], s32
# | ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\sibling-call.ll:87:13: error: GCN-NEXT: expected string not found in input
# | ; GCN-NEXT: buffer_store_dword v2, off, s[0:3], s32 offset:20
# | ^
# | <stdin>:109:21: note: scanning from here
# | v_mov_b32_e32 v2, 9
# | ^
# | <stdin>:110:2: note: possible intended match here
# | buffer_store_dword v2, off, s[0:3], s32
# | ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\sibling-call.ll:107:13: error: GCN-NEXT: expected string not found in input
# | ; GCN-NEXT: buffer_store_dword v2, off, s[0:3], s32 offset:20
# | ^
# | <stdin>:144:21: note: scanning from here
# | v_mov_b32_e32 v2, 9
# | ^
# | <stdin>:145:2: note: possible intended match here
# | buffer_store_dword v2, off, s[0:3], s32
# | ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\sibling-call.ll:358:13: error: GCN-NEXT: expected string not found in input
# | ; GCN-NEXT: buffer_store_dword v34, off, s[0:3], s32 offset:32
# | ^
# | <stdin>:509:22: note: scanning from here
# | v_mov_b32_e32 v34, 9
# | ^
# | <stdin>:510:2: note: possible intended match here
# | buffer_store_dword v34, off, s[0:3], s32 offset:12
# | ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\sibling-call.ll:504:13: error: GCN-NEXT: expected string not found in input
# | ; GCN-NEXT: buffer_store_dword v34, off, s[0:3], s32 offset:32
# | ^
# | <stdin>:699:22: note: scanning from here
# | v_mov_b32_e32 v34, 9
# | ^
# | <stdin>:700:2: note: possible intended match here
# | buffer_store_dword v34, off, s[0:3], s32 offset:12
# | ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\sibling-call.ll:528:13: error: GCN-NEXT: expected string not found in input
# | ; GCN-NEXT: buffer_store_dword v2, off, s[0:3], s32 offset:48
# | ^
# | <stdin>:738:21: note: scanning from here
# | v_mov_b32_e32 v2, 9
# | ^
# | <stdin>:739:2: note: possible intended match here
# | buffer_store_dword v2, off, s[0:3], s32 offset:28
# | ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\sibling-call.ll:886:13: error: GCN-NEXT: is not on the line after the previous match
# | ; GCN-NEXT: buffer_store_dword v1, off, s[0:3], s32 offset:148
# | ^
# | <stdin>:960:2: note: 'next' match was here
# | buffer_store_dword v1, off, s[0:3], s32 offset:148
# | ^
# | <stdin>:958:58: note: previous match ended here
# | s_addc_u32 s17, s17, void_fastcc_multi_byval at rel32@hi+12
# | ^
# | <stdin>:959:1: note: non-matching line after previous match is here
# | buffer_store_dword v1, off, s[0:3], s32 offset:144
# | ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\sibling-call.ll:918:13: error: GCN-NEXT: is not on the line after the previous match
# | ; GCN-NEXT: buffer_store_dword v1, off, s[0:3], s32 offset:148
# | ^
# | <stdin>:1003:2: note: 'next' match was here
# | buffer_store_dword v1, off, s[0:3], s32 offset:148
# | ^
# | <stdin>:1001:21: note: previous match ended here
# | v_mov_b32_e32 v1, 9
# | ^
# | <stdin>:1002:1: note: non-matching line after previous match is here
# | buffer_store_dword v1, off, s[0:3], s32 offset:144
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\sibling-call.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 35: .type i32_fastcc_i32_i32_stack_object, at function
# | 36: i32_fastcc_i32_i32_stack_object: ; @i32_fastcc_i32_i32_stack_object
# | 37: ; %bb.0:
# | 38: s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
# | 39: v_mov_b32_e32 v2, 9
# | 40: v_add_u32_e32 v0, vcc, v0, v1
# | next:35'0 X error: no match found
# | 41: buffer_store_dword v2, off, s[0:3], s32
# | next:35'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:35'1 ? possible intended match
# | 42: s_waitcnt vmcnt(0)
# | next:35'0 ~~~~~~~~~~~~~~~~~~~~
# | 43: s_setpc_b64 s[30:31]
# | next:35'0 ~~~~~~~~~~~~~~~~~~~~~~
# | 44: .Lfunc_end1:
# | next:35'0 ~~~~~~~~~~~~~
# | 45: .size i32_fastcc_i32_i32_stack_object, .Lfunc_end1-i32_fastcc_i32_i32_stack_object
# | next:35'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 46: ; -- End function
# | next:35'0 ~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 104: s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
# | 105: s_getpc_b64 s[4:5]
# | 106: s_add_u32 s4, s4, i32_fastcc_i32_i32 at gotpcrel32@lo+4
# | 107: s_addc_u32 s5, s5, i32_fastcc_i32_i32 at gotpcrel32@hi+12
# | 108: s_load_dwordx2 s[4:5], s[4:5], 0x0
# | 109: v_mov_b32_e32 v2, 9
# | next:87'0 X error: no match found
# | 110: buffer_store_dword v2, off, s[0:3], s32
# | next:87'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:87'1 ? possible intended match
# | 111: s_waitcnt vmcnt(0) lgkmcnt(0)
# | next:87'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 112: s_setpc_b64 s[4:5]
# | next:87'0 ~~~~~~~~~~~~~~~~~~~~
# | 113: .Lfunc_end3:
# | next:87'0 ~~~~~~~~~~~~~
# | 114: .size sibling_call_i32_fastcc_i32_i32_stack_object, .Lfunc_end3-sibling_call_i32_fastcc_i32_i32_stack_object
# | next:87'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 115: ; -- End function
# | next:87'0 ~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 139: s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
# | 140: s_getpc_b64 s[4:5]
# | 141: s_add_u32 s4, s4, i32_fastcc_i32_i32_stack_object at gotpcrel32@lo+4
# | 142: s_addc_u32 s5, s5, i32_fastcc_i32_i32_stack_object at gotpcrel32@hi+12
# | 143: s_load_dwordx2 s[4:5], s[4:5], 0x0
# | 144: v_mov_b32_e32 v2, 9
# | next:107'0 X error: no match found
# | 145: buffer_store_dword v2, off, s[0:3], s32
# | next:107'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:107'1 ? possible intended match
# | 146: s_waitcnt vmcnt(0) lgkmcnt(0)
# | next:107'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 147: s_setpc_b64 s[4:5]
# | next:107'0 ~~~~~~~~~~~~~~~~~~~~
# | 148: .Lfunc_end4:
# | next:107'0 ~~~~~~~~~~~~~
# | 149: .size sibling_call_i32_fastcc_i32_i32_callee_stack_object, .Lfunc_end4-sibling_call_i32_fastcc_i32_i32_callee_stack_object
# | next:107'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 150: ; -- End function
# | next:107'0 ~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 504: buffer_load_dword v33, off, s[0:3], s32 offset:8
# | 505: s_getpc_b64 s[4:5]
# | 506: s_add_u32 s4, s4, i32_fastcc_i32_i32_a32i32 at gotpcrel32@lo+4
# | 507: s_addc_u32 s5, s5, i32_fastcc_i32_i32_a32i32 at gotpcrel32@hi+12
# | 508: s_load_dwordx2 s[4:5], s[4:5], 0x0
# | 509: v_mov_b32_e32 v34, 9
# | next:358'0 X error: no match found
# | 510: buffer_store_dword v34, off, s[0:3], s32 offset:12
# | next:358'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:358'1 ? possible intended match
# | 511: s_waitcnt vmcnt(0)
# | next:358'0 ~~~~~~~~~~~~~~~~~~~~
# | 512: buffer_store_dword v31, off, s[0:3], s32
# | next:358'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 513: buffer_store_dword v32, off, s[0:3], s32 offset:4
# | next:358'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 514: buffer_store_dword v33, off, s[0:3], s32 offset:8
# | next:358'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 515: s_waitcnt lgkmcnt(0)
# | next:358'0 ~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 694: buffer_load_dword v33, off, s[0:3], s32 offset:8
# | 695: s_getpc_b64 s[4:5]
# | 696: s_add_u32 s4, s4, i32_fastcc_i32_i32_a32i32 at gotpcrel32@lo+4
# | 697: s_addc_u32 s5, s5, i32_fastcc_i32_i32_a32i32 at gotpcrel32@hi+12
# | 698: s_load_dwordx2 s[4:5], s[4:5], 0x0
# | 699: v_mov_b32_e32 v34, 9
# | next:504'0 X error: no match found
# | 700: buffer_store_dword v34, off, s[0:3], s32 offset:12
# | next:504'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:504'1 ? possible intended match
# | 701: s_waitcnt vmcnt(0)
# | next:504'0 ~~~~~~~~~~~~~~~~~~~~
# | 702: buffer_store_dword v31, off, s[0:3], s32
# | next:504'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 703: buffer_store_dword v32, off, s[0:3], s32 offset:4
# | next:504'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 704: buffer_store_dword v33, off, s[0:3], s32 offset:8
# | next:504'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 705: s_waitcnt lgkmcnt(0)
# | next:504'0 ~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 733: s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
# | 734: s_getpc_b64 s[4:5]
# | 735: s_add_u32 s4, s4, i32_fastcc_i32_i32_a32i32 at gotpcrel32@lo+4
# | 736: s_addc_u32 s5, s5, i32_fastcc_i32_i32_a32i32 at gotpcrel32@hi+12
# | 737: s_load_dwordx2 s[4:5], s[4:5], 0x0
# | 738: v_mov_b32_e32 v2, 9
# | next:528'0 X error: no match found
# | 739: buffer_store_dword v2, off, s[0:3], s32 offset:28
# | next:528'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:528'1 ? possible intended match
# | 740: s_waitcnt vmcnt(0)
# | next:528'0 ~~~~~~~~~~~~~~~~~~~~
# | 741: v_mov_b32_e32 v2, 0
# | next:528'0 ~~~~~~~~~~~~~~~~~~~~~
# | 742: buffer_store_dword v2, off, s[0:3], s32
# | next:528'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 743: buffer_store_dword v2, off, s[0:3], s32 offset:4
# | next:528'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 744: buffer_store_dword v2, off, s[0:3], s32 offset:8
# | next:528'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 955: v_mov_b32_e32 v2, 0
# | 956: s_getpc_b64 s[16:17]
# | 957: s_add_u32 s16, s16, void_fastcc_multi_byval at rel32@lo+4
# | 958: s_addc_u32 s17, s17, void_fastcc_multi_byval at rel32@hi+12
# | 959: buffer_store_dword v1, off, s[0:3], s32 offset:144
# | 960: buffer_store_dword v1, off, s[0:3], s32 offset:148
# | next:886 !~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: match on wrong line
# | 961: buffer_store_dword v1, off, s[0:3], s32 offset:152
# | 962: buffer_store_dword v2, off, s[0:3], s32 offset:164
# | 963: buffer_store_dword v2, off, s[0:3], s32 offset:160
# | 964: buffer_store_dword v2, off, s[0:3], s32 offset:172
# | 965: buffer_store_dword v2, off, s[0:3], s32 offset:168
# | .
# | .
# | .
# | 998: sibling_call_byval_and_stack_passed: ; @sibling_call_byval_and_stack_passed
# | 999: ; %bb.0: ; %entry
# | 1000: s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
# | 1001: v_mov_b32_e32 v1, 9
# | 1002: buffer_store_dword v1, off, s[0:3], s32 offset:144
# | 1003: buffer_store_dword v1, off, s[0:3], s32 offset:148
# | next:918 !~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: match on wrong line
# | 1004: buffer_store_dword v1, off, s[0:3], s32 offset:152
# | 1005: buffer_store_dword v1, off, s[0:3], s32 offset:4
# | 1006: buffer_store_dword v1, off, s[0:3], s32
# | 1007: buffer_store_dword v1, off, s[0:3], s32 offset:8
# | 1008: v_mov_b32_e32 v1, 0
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>LLVM.CodeGen/AMDGPU/splitkit-getsubrangeformask.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -mtriple=amdgcn -mcpu=gfx1010 -stop-after=greedy < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\splitkit-getsubrangeformask.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\splitkit-getsubrangeformask.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -mtriple=amdgcn -mcpu=gfx1010 -stop-after=greedy
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\splitkit-getsubrangeformask.ll'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\splitkit-getsubrangeformask.ll:34:16: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: [[S_BUFFER_LOAD_DWORD_IMM:%[0-9]+]]:sreg_32_xm0_xexec = S_BUFFER_LOAD_DWORD_IMM undef %130:sgpr_128, 0, 0 :: (dereferenceable invariant load (s32))
# | ^
# | <stdin>:1374:114: note: scanning from here
# | undef %66.sub0_sub1:sgpr_128 = S_LOAD_DWORDX2_IMM %56, 232, 0 :: (invariant load (s64) from %ir.39, addrspace 4)
# | ^
# | <stdin>:1375:2: note: possible intended match here
# | %123:sreg_32_xm0_xexec = S_BUFFER_LOAD_DWORD_IMM undef %124:sgpr_128, 0, 0 :: (dereferenceable invariant load (s32))
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\splitkit-getsubrangeformask.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 1369: %22:sgpr_32 = COPY $sgpr22
# | 1370: %23:sgpr_32 = COPY $sgpr23
# | 1371: %9:sgpr_32 = COPY $sgpr9
# | 1372: %10:sgpr_32 = COPY $sgpr10
# | 1373: %8:sgpr_32 = COPY $sgpr8
# | 1374: undef %66.sub0_sub1:sgpr_128 = S_LOAD_DWORDX2_IMM %56, 232, 0 :: (invariant load (s64) from %ir.39, addrspace 4)
# | next:34'0 X error: no match found
# | 1375: %123:sreg_32_xm0_xexec = S_BUFFER_LOAD_DWORD_IMM undef %124:sgpr_128, 0, 0 :: (dereferenceable invariant load (s32))
# | next:34'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:34'1 ? possible intended match
# | 1376: KILL undef %124:sgpr_128
# | next:34'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1377: %80:sreg_32 = S_LSHL_B32 %3, 4, implicit-def dead $scc
# | next:34'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1378: %93:sreg_32 = S_LSHL_B32 %4, 4, implicit-def dead $scc
# | next:34'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1379: %103:sreg_32 = S_LSHL_B32 %5, 4, implicit-def dead $scc
# | next:34'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1380: %83:sreg_32_xm0 = S_ASHR_I32 %80, 31, implicit-def dead $scc
# | next:34'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>LLVM.CodeGen/AMDGPU/stacksave_stackrestore.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -mtriple=amdgcn-amd-amdpal -mcpu=gfx1030 < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\stacksave_stackrestore.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe -check-prefixes=GCN,WAVE32,WAVE32-OPT C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\stacksave_stackrestore.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -mtriple=amdgcn-amd-amdpal -mcpu=gfx1030
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' -check-prefixes=GCN,WAVE32,WAVE32-OPT 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\stacksave_stackrestore.ll'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\stacksave_stackrestore.ll:857:20: error: WAVE32-OPT-NEXT: expected string not found in input
# | ; WAVE32-OPT-NEXT: s_movk_i32 s32, 0x1200
# | ^
# | <stdin>:575:30: note: scanning from here
# | v_lshlrev_b32_e32 v1, 10, v1
# | ^
# | <stdin>:576:2: note: possible intended match here
# | s_movk_i32 s32, 0x200
# | ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\stacksave_stackrestore.ll:1270:20: error: WAVE32-OPT-NEXT: expected string not found in input
# | ; WAVE32-OPT-NEXT: buffer_store_dword v32, off, s[0:3], s33 offset:128 ; 4-byte Folded Spill
# | ^
# | <stdin>:650:28: note: scanning from here
# | s_xor_saveexec_b32 s16, -1
# | ^
# | <stdin>:651:2: note: possible intended match here
# | buffer_store_dword v32, off, s[0:3], s33 offset:4 ; 4-byte Folded Spill
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\stacksave_stackrestore.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 570: ; %bb.0:
# | 571: s_getpc_b64 s[20:21]
# | 572: s_mov_b32 s20, s0
# | 573: v_lshlrev_b32_e32 v2, 20, v2
# | 574: s_load_dwordx4 s[20:23], s[20:21], 0x0
# | 575: v_lshlrev_b32_e32 v1, 10, v1
# | next:857'0 X error: no match found
# | 576: s_movk_i32 s32, 0x200
# | next:857'0 ~~~~~~~~~~~~~~~~~~~~~~~
# | next:857'1 ? possible intended match
# | 577: s_mov_b32 s13, s9
# | next:857'0 ~~~~~~~~~~~~~~~~~~~
# | 578: s_mov_b32 s12, s8
# | next:857'0 ~~~~~~~~~~~~~~~~~~~
# | 579: s_mov_b64 s[8:9], s[4:5]
# | next:857'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 580: s_mov_b32 s4, s32
# | next:857'0 ~~~~~~~~~~~~~~~~~~~
# | 581: v_mov_b32_e32 v3, 42
# | next:857'0 ~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 645: func_stacksave_stackrestore_call_with_stack_objects: ; @func_stacksave_stackrestore_call_with_stack_objects
# | next:857'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 646: ; %bb.0:
# | 647: s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
# | 648: s_mov_b32 s20, s33
# | 649: s_mov_b32 s33, s32
# | 650: s_xor_saveexec_b32 s16, -1
# | next:1270'0 X error: no match found
# | 651: buffer_store_dword v32, off, s[0:3], s33 offset:4 ; 4-byte Folded Spill
# | next:1270'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:1270'1 ? possible intended match
# | 652: s_mov_b32 exec_lo, s16
# | next:1270'0 ~~~~~~~~~~~~~~~~~~~~~~~~
# | 653: v_writelane_b32 v32, s30, 0
# | next:1270'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 654: v_mov_b32_e32 v0, 42
# | next:1270'0 ~~~~~~~~~~~~~~~~~~~~~~
# | 655: v_mov_b32_e32 v1, 17
# | next:1270'0 ~~~~~~~~~~~~~~~~~~~~~~
# | 656: s_addk_i32 s32, 0x200
# | next:1270'0 ~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>LLVM.CodeGen/AMDGPU/store-hi16.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -mtriple=amdgcn -mcpu=gfx900 -mattr=-promote-alloca < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\store-hi16.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe -allow-deprecated-dag-overlap -check-prefixes=GCN,GFX9,GFX9-MUBUF C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\store-hi16.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -mtriple=amdgcn -mcpu=gfx900 -mattr=-promote-alloca
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' -allow-deprecated-dag-overlap -check-prefixes=GCN,GFX9,GFX9-MUBUF 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\store-hi16.ll'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\store-hi16.ll:621:20: error: GFX9-MUBUF-NEXT: expected string not found in input
# | ; GFX9-MUBUF-NEXT: buffer_store_short_d16_hi v0, off, s[0:3], s32 offset:4058
# | ^
# | <stdin>:1296:20: note: scanning from here
# | s_waitcnt vmcnt(0)
# | ^
# | <stdin>:1333:1: note: possible intended match here
# | store_private_hi_v2i16_i8_to_offset: ; @store_private_hi_v2i16_i8_to_offset
# | ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\store-hi16.ll:642:20: error: GFX9-MUBUF-NEXT: expected string not found in input
# | ; GFX9-MUBUF-NEXT: buffer_store_byte_d16_hi v0, off, s[0:3], s32 offset:4059
# | ^
# | <stdin>:1338:20: note: scanning from here
# | s_waitcnt vmcnt(0)
# | ^
# | <stdin>:1341:51: note: possible intended match here
# | .size store_private_hi_v2i16_i8_to_offset, .Lfunc_end32-store_private_hi_v2i16_i8_to_offset
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\store-hi16.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 1291: store_private_hi_v2i16_to_offset: ; @store_private_hi_v2i16_to_offset
# | 1292: ; %bb.0: ; %entry
# | 1293: s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
# | 1294: v_mov_b32_e32 v0, 0x7b
# | 1295: buffer_store_dword v0, v1, s[0:3], 0 offen
# | 1296: s_waitcnt vmcnt(0)
# | next:621'0 X error: no match found
# | 1297: s_setpc_b64 s[30:31]
# | next:621'0 ~~~~~~~~~~~~~~~~~~~~~~
# | 1298: .Lfunc_end31:
# | next:621'0 ~~~~~~~~~~~~~~
# | 1299: .size store_private_hi_v2i16_to_offset, .Lfunc_end31-store_private_hi_v2i16_to_offset
# | next:621'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1300: ; -- End function
# | next:621'0 ~~~~~~~~~~~~~~~~~~~
# | 1301: .set store_private_hi_v2i16_to_offset.num_vgpr, 2
# | next:621'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 1328: .long 0
# | next:621'0 ~~~~~~~~~
# | 1329: .text
# | next:621'0 ~~~~~~~
# | 1330: .globl store_private_hi_v2i16_i8_to_offset ; -- Begin function store_private_hi_v2i16_i8_to_offset
# | next:621'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1331: .p2align 2
# | next:621'0 ~~~~~~~~~~~~
# | 1332: .type store_private_hi_v2i16_i8_to_offset, at function
# | next:621'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1333: store_private_hi_v2i16_i8_to_offset: ; @store_private_hi_v2i16_i8_to_offset
# | next:621'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:621'1 ? possible intended match
# | 1334: ; %bb.0: ; %entry
# | 1335: s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
# | 1336: v_mov_b32_e32 v0, 0x7b
# | 1337: buffer_store_dword v0, v1, s[0:3], 0 offen
# | 1338: s_waitcnt vmcnt(0)
# | next:642'0 X error: no match found
# | 1339: s_setpc_b64 s[30:31]
# | next:642'0 ~~~~~~~~~~~~~~~~~~~~~~
# | 1340: .Lfunc_end32:
# | next:642'0 ~~~~~~~~~~~~~~
# | 1341: .size store_private_hi_v2i16_i8_to_offset, .Lfunc_end32-store_private_hi_v2i16_i8_to_offset
# | next:642'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:642'1 ? possible intended match
# | 1342: ; -- End function
# | next:642'0 ~~~~~~~~~~~~~~~~~~~
# | 1343: .set store_private_hi_v2i16_i8_to_offset.num_vgpr, 2
# | next:642'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1344: .set store_private_hi_v2i16_i8_to_offset.num_agpr, 0
# | next:642'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1345: .set store_private_hi_v2i16_i8_to_offset.numbered_sgpr, 32
# | next:642'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1346: .set store_private_hi_v2i16_i8_to_offset.num_named_barrier, 0
# | next:642'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>LLVM.CodeGen/AMDGPU/tdm-optimization.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 5
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -mtriple=amdgcn-amd-amdhsa -mcpu=gfx1250 -amdgpu-tdm-opt-threshold=2 -stop-after=amdgpu-tdm-optimization < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\tdm-optimization.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\tdm-optimization.ll --check-prefix=TDM-PASS
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -mtriple=amdgcn-amd-amdhsa -mcpu=gfx1250 -amdgpu-tdm-opt-threshold=2 -stop-after=amdgpu-tdm-optimization
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\tdm-optimization.ll' --check-prefix=TDM-PASS
# note: command had no output on stdout or stderr
# RUN: at line 8
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -mtriple=amdgcn-amd-amdhsa -mcpu=gfx1250 -amdgpu-tdm-opt-threshold=2 -stop-after=sroa < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\tdm-optimization.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\tdm-optimization.ll --check-prefix=SROA-PASS
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -mtriple=amdgcn-amd-amdhsa -mcpu=gfx1250 -amdgpu-tdm-opt-threshold=2 -stop-after=sroa
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\tdm-optimization.ll' --check-prefix=SROA-PASS
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\tdm-optimization.ll:43:14: error: SROA-PASS: expected string not found in input
# | ; SROA-PASS: %[[VEC1:.*]] = insertelement <4 x i32> undef, i32 %[[VAL1:.*]], i32 1
# | ^
# | <stdin>:10:59: note: scanning from here
# | define amdgpu_kernel void @test_basic_address_descriptor(i32 %val1, i32 %val2, i32 %val3, i32 %val4, i32 %val5, i32 %val6) #1 {
# | ^
# | <stdin>:25:6: note: possible intended match here
# | %desc1_1 = insertelement <4 x i32> <i32 0, i32 poison, i32 poison, i32 poison>, i32 %val1.load, i64 1
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\tdm-optimization.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 5: target triple = "amdgcn-amd-amdhsa"
# | 6:
# | 7: ; Function Attrs: convergent nocallback nofree nounwind willreturn memory(argmem: readwrite, inaccessiblemem: readwrite)
# | 8: declare void @llvm.amdgcn.tensor.load.to.lds.d2(<4 x i32>, <8 x i32>, i32 immarg) #0
# | 9:
# | 10: define amdgpu_kernel void @test_basic_address_descriptor(i32 %val1, i32 %val2, i32 %val3, i32 %val4, i32 %val5, i32 %val6) #1 {
# | check:43'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# | 11: entry:
# | check:43'0 ~~~~~~~~
# | 12: %test_basic_address_descriptor.kernarg.segment = call nonnull align 16 dereferenceable(280) ptr addrspace(4) @llvm.amdgcn.kernarg.segment.ptr()
# | check:43'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 13: %val1.kernarg.offset = getelementptr inbounds i8, ptr addrspace(4) %test_basic_address_descriptor.kernarg.segment, i64 0
# | check:43'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 14: %val1.load = load i32, ptr addrspace(4) %val1.kernarg.offset, align 16, !invariant.load !0
# | check:43'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 15: %val2.kernarg.offset = getelementptr inbounds i8, ptr addrspace(4) %test_basic_address_descriptor.kernarg.segment, i64 4
# | check:43'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 20: %val4.load = load i32, ptr addrspace(4) %val4.kernarg.offset, align 4, !invariant.load !0
# | check:43'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 21: %val5.kernarg.offset = getelementptr inbounds i8, ptr addrspace(4) %test_basic_address_descriptor.kernarg.segment, i64 16
# | check:43'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 22: %val5.load = load i32, ptr addrspace(4) %val5.kernarg.offset, align 16, !invariant.load !0
# | check:43'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 23: %val6.kernarg.offset = getelementptr inbounds i8, ptr addrspace(4) %test_basic_address_descriptor.kernarg.segment, i64 20
# | check:43'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 24: %val6.load = load i32, ptr addrspace(4) %val6.kernarg.offset, align 4, !invariant.load !0
# | check:43'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 25: %desc1_1 = insertelement <4 x i32> <i32 0, i32 poison, i32 poison, i32 poison>, i32 %val1.load, i64 1
# | check:43'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:43'1 ? possible intended match
# | 26: %desc1_2 = insertelement <4 x i32> %desc1_1, i32 %val2.load, i64 2
# | check:43'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 27: %tdm_desc_storage.4.vec.insert = insertelement <4 x i32> <i32 0, i32 poison, i32 poison, i32 poison>, i32 %val1.load, i32 1
# | check:43'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 28: %tdm_desc_storage.8.vec.insert = insertelement <4 x i32> %tdm_desc_storage.4.vec.insert, i32 %val2.load, i32 2
# | check:43'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 29: %tdm_desc_storage.12.vec.insert = insertelement <4 x i32> %tdm_desc_storage.8.vec.insert, i32 %val3.load, i32 3
# | check:43'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 30: %desc1_final = insertelement <4 x i32> %desc1_2, i32 %val3.load, i64 3
# | check:43'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>LLVM.DebugInfo/AMDGPU/pointer-address-space.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -O0 -mtriple=amdgcn--amdhsa -mcpu=fiji -verify-machineinstrs -filetype=obj < C:\_work\llvm-project\llvm-project\llvm\test\DebugInfo\AMDGPU\pointer-address-space.ll | c:\_work\llvm-project\llvm-project\build\bin\llvm-dwarfdump.exe -v -debug-info - | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\DebugInfo\AMDGPU\pointer-address-space.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -O0 -mtriple=amdgcn--amdhsa -mcpu=fiji -verify-machineinstrs -filetype=obj
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llvm-dwarfdump.exe' -v -debug-info -
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_work\llvm-project\llvm-project\llvm\test\DebugInfo\AMDGPU\pointer-address-space.ll'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\DebugInfo\AMDGPU\pointer-address-space.ll:25:10: error: CHECK: expected string not found in input
# | ; CHECK: DW_AT_name {{.*}}"FuncVar2"
# | ^
# | <stdin>:36:56: note: scanning from here
# | DW_AT_type [DW_FORM_ref4] (cu + 0x006c => {0x0000006c} "int *")
# | ^
# | <stdin>:40:2: note: possible intended match here
# | DW_AT_name [DW_FORM_strp] ( .debug_str[0x0000004f] = "FuncVar4")
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\DebugInfo\AMDGPU\pointer-address-space.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 31: 0x00000053: DW_TAG_variable [3] (0x0000002f)
# | 32: DW_AT_const_value [DW_FORM_udata] (0)
# | 33: DW_AT_name [DW_FORM_strp] ( .debug_str[0x00000046] = "FuncVar1")
# | 34: DW_AT_decl_file [DW_FORM_data1] ("/some/random/directory\pointer-address-space.ll")
# | 35: DW_AT_decl_line [DW_FORM_data1] (3)
# | 36: DW_AT_type [DW_FORM_ref4] (cu + 0x006c => {0x0000006c} "int *")
# | check:25'0 X~~~~~~~~~ error: no match found
# | 37:
# | check:25'0 ~
# | 38: 0x0000005f: DW_TAG_variable [3] (0x0000002f)
# | check:25'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 39: DW_AT_const_value [DW_FORM_udata] (0)
# | check:25'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 40: DW_AT_name [DW_FORM_strp] ( .debug_str[0x0000004f] = "FuncVar4")
# | check:25'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:25'1 ? possible intended match
# | 41: DW_AT_decl_file [DW_FORM_data1] ("/some/random/directory\pointer-address-space.ll")
# | check:25'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 42: DW_AT_decl_line [DW_FORM_data1] (6)
# | check:25'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 43: DW_AT_type [DW_FORM_ref4] (cu + 0x006c => {0x0000006c} "int *")
# | check:25'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 44:
# | check:25'0 ~
# | 45: 0x0000006b: NULL
# | check:25'0 ~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>LLVM.DebugInfo/AMDGPU/variable-locations.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -O0 -mtriple=amdgcn-amd-amdhsa -mcpu=fiji -verify-machineinstrs -filetype=obj < C:\_work\llvm-project\llvm-project\llvm\test\DebugInfo\AMDGPU\variable-locations.ll | c:\_work\llvm-project\llvm-project\build\bin\llvm-dwarfdump.exe -v -debug-info - | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\DebugInfo\AMDGPU\variable-locations.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -O0 -mtriple=amdgcn-amd-amdhsa -mcpu=fiji -verify-machineinstrs -filetype=obj
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llvm-dwarfdump.exe' -v -debug-info -
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_work\llvm-project\llvm-project\llvm\test\DebugInfo\AMDGPU\variable-locations.ll'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\DebugInfo\AMDGPU\variable-locations.ll:39:15: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: DW_AT_location [DW_FORM_block1] (DW_OP_fbreg +0, DW_OP_lit1, DW_OP_swap, DW_OP_xderef)
# | ^
# | <stdin>:46:36: note: scanning from here
# | 0x0000007b: DW_TAG_formal_parameter [5] (0x00000062)
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\DebugInfo\AMDGPU\variable-locations.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 41: DW_AT_decl_file [DW_FORM_data1] ("/some/random/directory\variable-locations.cl")
# | 42: DW_AT_decl_line [DW_FORM_data1] (4)
# | 43: DW_AT_prototyped [DW_FORM_flag] (0x01)
# | 44: DW_AT_external [DW_FORM_flag] (0x01)
# | 45:
# | 46: 0x0000007b: DW_TAG_formal_parameter [5] (0x00000062)
# | next:39 X~~~~~~~~~~~~~~~~~ error: no match found
# | 47: DW_AT_name [DW_FORM_strp] ( .debug_str[0x0000005e] = "ArgA")
# | next:39 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 48: DW_AT_decl_file [DW_FORM_data1] ("/some/random/directory\variable-locations.cl")
# | next:39 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 49: DW_AT_decl_line [DW_FORM_data1] (4)
# | next:39 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 50: DW_AT_type [DW_FORM_ref4] (cu + 0x0092 => {0x00000092} "int *")
# | next:39 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 51:
# | next:39 ~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>LLVM.tools/llvm-objdump/ELF/AMDGPU/source-lines.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
sed -e "s,SRC_COMPDIR,C:/_work/llvm-project/llvm-project/llvm/test/tools/llvm-objdump/ELF/AMDGPU/Inputs,g" C:\_work\llvm-project\llvm-project\llvm\test\tools\llvm-objdump\ELF\AMDGPU\source-lines.ll > C:\_work\llvm-project\llvm-project\build\test\tools\llvm-objdump\ELF\AMDGPU\Output\source-lines.ll.tmp.ll
# executed command: sed -e s,SRC_COMPDIR,C:/_work/llvm-project/llvm-project/llvm/test/tools/llvm-objdump/ELF/AMDGPU/Inputs,g 'C:\_work\llvm-project\llvm-project\llvm\test\tools\llvm-objdump\ELF\AMDGPU\source-lines.ll'
# note: command had no output on stdout or stderr
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -mtriple=amdgcn-amd-amdhsa -mcpu=gfx802 -filetype=obj -O0 -o C:\_work\llvm-project\llvm-project\build\test\tools\llvm-objdump\ELF\AMDGPU\Output\source-lines.ll.tmp.o C:\_work\llvm-project\llvm-project\build\test\tools\llvm-objdump\ELF\AMDGPU\Output\source-lines.ll.tmp.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -mtriple=amdgcn-amd-amdhsa -mcpu=gfx802 -filetype=obj -O0 -o 'C:\_work\llvm-project\llvm-project\build\test\tools\llvm-objdump\ELF\AMDGPU\Output\source-lines.ll.tmp.o' 'C:\_work\llvm-project\llvm-project\build\test\tools\llvm-objdump\ELF\AMDGPU\Output\source-lines.ll.tmp.ll'
# note: command had no output on stdout or stderr
# RUN: at line 3
c:\_work\llvm-project\llvm-project\build\bin\llvm-objdump.exe --triple=amdgcn-amd-amdhsa --mcpu=gfx802 -d -l C:\_work\llvm-project\llvm-project\build\test\tools\llvm-objdump\ELF\AMDGPU\Output\source-lines.ll.tmp.o | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe --check-prefix=LINE C:\_work\llvm-project\llvm-project\build\test\tools\llvm-objdump\ELF\AMDGPU\Output\source-lines.ll.tmp.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llvm-objdump.exe' --triple=amdgcn-amd-amdhsa --mcpu=gfx802 -d -l 'C:\_work\llvm-project\llvm-project\build\test\tools\llvm-objdump\ELF\AMDGPU\Output\source-lines.ll.tmp.o'
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' --check-prefix=LINE 'C:\_work\llvm-project\llvm-project\build\test\tools\llvm-objdump\ELF\AMDGPU\Output\source-lines.ll.tmp.ll'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\build\test\tools\llvm-objdump\ELF\AMDGPU\Output\source-lines.ll.tmp.ll:8:14: error: LINE-NEXT: expected string not found in input
# | ; LINE-NEXT: ; source_lines_test():
# | ^
# | <stdin>:6:38: note: scanning from here
# | 0000000000000000 <source_lines_test>:
# | ^
# | <stdin>:7:1: note: possible intended match here
# | ; source_lines_test.kd():
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\build\test\tools\llvm-objdump\ELF\AMDGPU\Output\source-lines.ll.tmp.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | 1:
# | 2: C:\_work\llvm-project\llvm-project\build\test\tools\llvm-objdump\ELF\AMDGPU\Output\source-lines.ll.tmp.o: file format elf64-amdgpu
# | 3:
# | 4: Disassembly of section .text:
# | 5:
# | 6: 0000000000000000 <source_lines_test>:
# | next:8'0 X error: no match found
# | 7: ; source_lines_test.kd():
# | next:8'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:8'1 ? possible intended match
# | 8: ; C:/_work/llvm-project/llvm-project/llvm/test/tools/llvm-objdump/ELF/AMDGPU/Inputs\source-lines.cl:1
# | next:8'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 9: s_mov_b32 s33, 0 // 000000000000: BEA10080
# | next:8'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 10: s_mov_b32 flat_scratch_lo, s13 // 000000000004: BEE6000D
# | next:8'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 11: s_add_i32 s12, s12, s17 // 000000000008: 810C110C
# | next:8'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 12: s_lshr_b32 flat_scratch_hi, s12, 8 // 00000000000C: 8F67880C
# | next:8'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
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.
https://github.com/llvm/llvm-project/pull/173324
More information about the llvm-commits
mailing list