[llvm] [AMDGPU] merge 16bit mov pairs in post-RA peephole (PR #208625)
via llvm-commits
llvm-commits at lists.llvm.org
Sat Jul 11 11:21:28 PDT 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results
* 138379 tests passed
* 3518 tests skipped
* 4 tests failed
## Failed Tests
(click on a test name to see its output)
### LLVM
<details>
<summary>LLVM.CodeGen/AMDGPU/GlobalISel/ashr.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -global-isel -global-isel-abort=2 -mtriple=amdgcn-amd-amdpal -mcpu=tahiti < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\ashr.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe -check-prefixes=GCN,GFX6 C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\ashr.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -global-isel -global-isel-abort=2 -mtriple=amdgcn-amd-amdpal -mcpu=tahiti
# .---command stderr------------
# | warning: Instruction selection used fallback path for ashr_i16_sv
# | warning: Instruction selection used fallback path for ashr_i16_vs
# | warning: Instruction selection used fallback path for v_ashr_v2i16
# | warning: Instruction selection used fallback path for v_ashr_v2i16_15
# | warning: Instruction selection used fallback path for s_ashr_v2i16
# | warning: Instruction selection used fallback path for ashr_v2i16_sv
# | warning: Instruction selection used fallback path for ashr_v2i16_vs
# | warning: Instruction selection used fallback path for v_ashr_v4i16
# | warning: Instruction selection used fallback path for s_ashr_v4i16
# | warning: Instruction selection used fallback path for v_ashr_v8i16
# | warning: Instruction selection used fallback path for s_ashr_v8i16
# | warning: Instruction selection used fallback path for v_ashr_i65
# | warning: Instruction selection used fallback path for v_ashr_i65_33
# | warning: Instruction selection used fallback path for s_ashr_i65
# | warning: Instruction selection used fallback path for s_ashr_i65_33
# `-----------------------------
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' -check-prefixes=GCN,GFX6 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\ashr.ll'
# note: command had no output on stdout or stderr
# RUN: at line 3
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -global-isel -global-isel-abort=2 -mtriple=amdgcn-amd-amdpal -mcpu=fiji < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\ashr.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe -check-prefixes=GCN,GFX8 C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\ashr.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -global-isel -global-isel-abort=2 -mtriple=amdgcn-amd-amdpal -mcpu=fiji
# .---command stderr------------
# | warning: Instruction selection used fallback path for v_ashr_i8
# | warning: Instruction selection used fallback path for ashr_i16_sv
# | warning: Instruction selection used fallback path for ashr_i16_vs
# | warning: Instruction selection used fallback path for v_ashr_v2i16
# | warning: Instruction selection used fallback path for v_ashr_v2i16_15
# | warning: Instruction selection used fallback path for s_ashr_v2i16
# | warning: Instruction selection used fallback path for ashr_v2i16_sv
# | warning: Instruction selection used fallback path for ashr_v2i16_vs
# | warning: Instruction selection used fallback path for v_ashr_v4i16
# | warning: Instruction selection used fallback path for s_ashr_v4i16
# | warning: Instruction selection used fallback path for v_ashr_v8i16
# | warning: Instruction selection used fallback path for s_ashr_v8i16
# | warning: Instruction selection used fallback path for v_ashr_i65
# | warning: Instruction selection used fallback path for v_ashr_i65_33
# | warning: Instruction selection used fallback path for s_ashr_i65
# | warning: Instruction selection used fallback path for s_ashr_i65_33
# | warning: Instruction selection used fallback path for v_ashr_v4i2
# `-----------------------------
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' -check-prefixes=GCN,GFX8 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\ashr.ll'
# note: command had no output on stdout or stderr
# RUN: at line 4
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -global-isel -global-isel-abort=2 -mtriple=amdgcn-amd-amdpal -mcpu=gfx900 < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\ashr.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe -check-prefixes=GCN,GFX9 C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\ashr.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -global-isel -global-isel-abort=2 -mtriple=amdgcn-amd-amdpal -mcpu=gfx900
# .---command stderr------------
# | warning: Instruction selection used fallback path for v_ashr_i8
# | warning: Instruction selection used fallback path for ashr_i16_sv
# | warning: Instruction selection used fallback path for ashr_i16_vs
# | warning: Instruction selection used fallback path for v_ashr_i65
# | warning: Instruction selection used fallback path for v_ashr_i65_33
# | warning: Instruction selection used fallback path for s_ashr_i65
# | warning: Instruction selection used fallback path for s_ashr_i65_33
# | warning: Instruction selection used fallback path for v_ashr_v4i2
# `-----------------------------
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' -check-prefixes=GCN,GFX9 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\ashr.ll'
# note: command had no output on stdout or stderr
# RUN: at line 5
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -global-isel -global-isel-abort=2 -mtriple=amdgcn-amd-amdpal -mcpu=gfx1010 < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\ashr.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe -check-prefixes=GFX10PLUS,GFX10 C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\ashr.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -global-isel -global-isel-abort=2 -mtriple=amdgcn-amd-amdpal -mcpu=gfx1010
# .---command stderr------------
# | warning: Instruction selection used fallback path for v_ashr_i8
# | warning: Instruction selection used fallback path for ashr_i16_sv
# | warning: Instruction selection used fallback path for ashr_i16_vs
# | warning: Instruction selection used fallback path for v_ashr_i65
# | warning: Instruction selection used fallback path for v_ashr_i65_33
# | warning: Instruction selection used fallback path for s_ashr_i65
# | warning: Instruction selection used fallback path for s_ashr_i65_33
# | warning: Instruction selection used fallback path for v_ashr_v4i2
# `-----------------------------
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' -check-prefixes=GFX10PLUS,GFX10 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\ashr.ll'
# note: command had no output on stdout or stderr
# RUN: at line 6
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -global-isel -global-isel-abort=2 -mtriple=amdgcn-amd-amdpal -mcpu=gfx1100 -mattr=+real-true16 -amdgpu-enable-delay-alu=0 < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\ashr.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe -check-prefixes=GFX10PLUS,GFX11,GFX11-TRUE16 C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\ashr.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -global-isel -global-isel-abort=2 -mtriple=amdgcn-amd-amdpal -mcpu=gfx1100 -mattr=+real-true16 -amdgpu-enable-delay-alu=0
# .---command stderr------------
# | warning: Instruction selection used fallback path for v_ashr_i8
# | warning: Instruction selection used fallback path for v_ashr_i65
# | warning: Instruction selection used fallback path for v_ashr_i65_33
# | warning: Instruction selection used fallback path for s_ashr_i65
# | warning: Instruction selection used fallback path for s_ashr_i65_33
# | warning: Instruction selection used fallback path for v_ashr_v4i2
# `-----------------------------
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' -check-prefixes=GFX10PLUS,GFX11,GFX11-TRUE16 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\ashr.ll'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\ashr.ll:2011:22: error: GFX11-TRUE16-NEXT: expected string not found in input
# | ; GFX11-TRUE16-NEXT: v_mov_b16_e32 v1.l, v2.l
# | ^
# | <stdin>:2359:26: note: scanning from here
# | v_mov_b16_e32 v0.h, v1.l
# | ^
# | <stdin>:2371:2: note: possible intended match here
# | v_mov_b16_e32 v0.l, v1.l
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\ashr.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 2354: .p2align 7
# | 2355: .type v_ashr_v4i2, at function
# | 2356: v_ashr_v4i2: ; @v_ashr_v4i2
# | 2357: ; %bb.0:
# | 2358: s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
# | 2359: v_mov_b16_e32 v0.h, v1.l
# | next:2011'0 { search range start (exclusive)
# | next:2011'1 error: no match found in search range
# | 2360: v_perm_b32 v1, v2, v3, 0x5040100
# | 2361: v_and_b16 v2.h, v5.l, 3
# | 2362: v_and_b16 v2.l, v4.l, 3
# | 2363: v_pk_lshlrev_b16 v0, 14, v0 op_sel_hi:[0,1]
# | 2364: v_and_b16 v4.h, v7.l, 3
# | 2365: v_pk_lshlrev_b16 v1, 14, v1 op_sel_hi:[0,1]
# | 2366: v_and_b16 v4.l, v6.l, 3
# | 2367: v_pk_ashrrev_i16 v0, 14, v0 op_sel_hi:[0,1]
# | 2368: v_pk_ashrrev_i16 v3, 14, v1 op_sel_hi:[0,1]
# | 2369: v_pk_ashrrev_i16 v1, v2, v0
# | 2370: v_pk_ashrrev_i16 v3, v4, v3
# | 2371: v_mov_b16_e32 v0.l, v1.l
# | next:2011'2 ? possible intended match
# | 2372: v_mov_b16_e32 v1.l, v1.h
# | 2373: v_mov_b16_e32 v2.l, v3.l
# | 2374: v_mov_b16_e32 v3.l, v3.h
# | 2375: s_setpc_b64 s[30:31]
# | 2376: .Lfunc_end59:
# | .
# | .
# | .
# | 2395: ; MemoryBound: 0
# | 2396: .text
# | 2397: .globl s_ashr_v4i1 ; -- Begin function s_ashr_v4i1
# | 2398: .p2align 8
# | 2399: .type s_ashr_v4i1, at function
# | 2400: s_ashr_v4i1: ; @s_ashr_v4i1
# | next:2011'3 } search range end (exclusive)
# | 2401: ; %bb.0:
# | 2402: ; return to shader part epilog
# | 2403: .Lfunc_end60:
# | 2404: .size s_ashr_v4i1, .Lfunc_end60-s_ashr_v4i1
# | 2405: ; -- End function
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>LLVM.CodeGen/AMDGPU/GlobalISel/fptrunc.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -global-isel -global-isel-abort=2 -mtriple=amdgcn-amd-amdpal -mattr=-real-true16 -mcpu=gfx1100 -o - C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\fptrunc.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe -check-prefixes=GFX11,GFX11-FAKE16 C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\fptrunc.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -global-isel -global-isel-abort=2 -mtriple=amdgcn-amd-amdpal -mattr=-real-true16 -mcpu=gfx1100 -o - 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\fptrunc.ll'
# .---command stderr------------
# | warning: Instruction selection used fallback path for fptrunc_f64_to_f16_uniform
# | warning: Instruction selection used fallback path for fptrunc_f64_to_f16_div
# `-----------------------------
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' -check-prefixes=GFX11,GFX11-FAKE16 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\fptrunc.ll'
# note: command had no output on stdout or stderr
# RUN: at line 3
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -global-isel -global-isel-abort=2 -mtriple=amdgcn-amd-amdpal -mattr=+real-true16 -mcpu=gfx1100 -o - C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\fptrunc.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe -check-prefixes=GFX11,GFX11-TRUE16 C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\fptrunc.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -global-isel -global-isel-abort=2 -mtriple=amdgcn-amd-amdpal -mattr=+real-true16 -mcpu=gfx1100 -o - 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\fptrunc.ll'
# .---command stderr------------
# | warning: Instruction selection used fallback path for fptrunc_f64_to_f16_uniform
# | warning: Instruction selection used fallback path for fptrunc_f64_to_f16_div
# `-----------------------------
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' -check-prefixes=GFX11,GFX11-TRUE16 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\fptrunc.ll'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\fptrunc.ll:389:22: error: GFX11-TRUE16-NEXT: expected string not found in input
# | ; GFX11-TRUE16-NEXT: v_mov_b16_e32 v4.h, 0
# | ^
# | <stdin>:312:33: note: scanning from here
# | v_cmp_gt_i32_e32 vcc_lo, 31, v3
# | ^
# | <stdin>:315:4: note: possible intended match here
# | v_cndmask_b32_e32 v2, 0x7c00, v2, vcc_lo
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\fptrunc.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 307: v_cmp_ne_u32_e32 vcc_lo, 0, v0
# | 308: v_or_b32_e32 v4, v4, v5
# | 309: s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
# | 310: v_dual_mov_b32 v5, 0x7e00 :: v_dual_add_nc_u32 v2, v2, v4
# | 311: v_cndmask_b32_e32 v0, 0x7c00, v5, vcc_lo
# | 312: v_cmp_gt_i32_e32 vcc_lo, 31, v3
# | next:389'0 { search range start (exclusive)
# | next:389'1 error: no match found in search range
# | 313: v_lshrrev_b32_e64 v4, 16, v1
# | 314: s_delay_alu instid0(VALU_DEP_4) | instskip(SKIP_1) | instid1(VALU_DEP_2)
# | 315: v_cndmask_b32_e32 v2, 0x7c00, v2, vcc_lo
# | next:389'2 ? possible intended match
# | 316: v_cmp_eq_u32_e32 vcc_lo, 0x40f, v3
# | 317: v_cndmask_b32_e32 v0, v2, v0, vcc_lo
# | 318: s_delay_alu instid0(VALU_DEP_1)
# | 319: v_and_or_b32 v0, 0x8000, v4, v0
# | 320: ; return to shader part epilog
# | .
# | .
# | .
# | 356: ; COMPUTE_PGM_RSRC2:TIDIG_COMP_CNT: 0
# | 357: .text
# | 358: .globl fptrunc_v2f32_to_v2f16_uniform ; -- Begin function fptrunc_v2f32_to_v2f16_uniform
# | 359: .p2align 8
# | 360: .type fptrunc_v2f32_to_v2f16_uniform, at function
# | 361: fptrunc_v2f32_to_v2f16_uniform: ; @fptrunc_v2f32_to_v2f16_uniform
# | next:389'3 } search range end (exclusive)
# | 362: ; %bb.0:
# | 363: v_cvt_f16_f32_e32 v0.l, s0
# | 364: v_cvt_f16_f32_e32 v1.l, s1
# | 365: s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
# | 366: v_readfirstlane_b32 s0, v0
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>LLVM.CodeGen/AMDGPU/GlobalISel/fshr.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -global-isel -global-isel-abort=2 -mtriple=amdgcn-amd-amdpal -mcpu=tahiti -o - C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\fshr.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe -check-prefixes=GCN,GFX6 C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\fshr.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -global-isel -global-isel-abort=2 -mtriple=amdgcn-amd-amdpal -mcpu=tahiti -o - 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\fshr.ll'
# .---command stderr------------
# | warning: Instruction selection used fallback path for s_fshr_v4i8
# | warning: Instruction selection used fallback path for v_fshr_v4i8
# | warning: Instruction selection used fallback path for s_fshr_v2i24
# | warning: Instruction selection used fallback path for v_fshr_i16_ssv
# | warning: Instruction selection used fallback path for v_fshr_i16_svs
# | warning: Instruction selection used fallback path for v_fshr_i16_vss
# | warning: Instruction selection used fallback path for s_fshr_v2i16
# | warning: Instruction selection used fallback path for v_fshr_v2i16
# | warning: Instruction selection used fallback path for v_fshr_v2i16_4_8
# | warning: Instruction selection used fallback path for v_fshr_v2i16_ssv
# | warning: Instruction selection used fallback path for v_fshr_v2i16_svs
# | warning: Instruction selection used fallback path for v_fshr_v2i16_vss
# | warning: Instruction selection used fallback path for s_fshr_v3i16
# | warning: Instruction selection used fallback path for v_fshr_v3i16
# | warning: Instruction selection used fallback path for s_fshr_v4i16
# | warning: Instruction selection used fallback path for v_fshr_v4i16
# | warning: Instruction selection used fallback path for s_fshr_i64_5
# | warning: Instruction selection used fallback path for s_fshr_i64_48
# | warning: Instruction selection used fallback path for v_fshr_i64_48
# | warning: Instruction selection used fallback path for s_fshr_i128
# | warning: Instruction selection used fallback path for v_fshr_i128
# | warning: Instruction selection used fallback path for v_fshr_i128_ssv
# | warning: Instruction selection used fallback path for v_fshr_i128_svs
# | warning: Instruction selection used fallback path for v_fshr_i128_vss
# | warning: Instruction selection used fallback path for s_fshr_i128_65
# | warning: Instruction selection used fallback path for s_fshr_v2i128
# | warning: Instruction selection used fallback path for v_fshr_v2i128
# `-----------------------------
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' -check-prefixes=GCN,GFX6 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\fshr.ll'
# note: command had no output on stdout or stderr
# RUN: at line 3
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -global-isel -global-isel-abort=2 -mtriple=amdgcn-amd-amdpal -mcpu=fiji -o - C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\fshr.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe -check-prefixes=GCN,GFX8 C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\fshr.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -global-isel -global-isel-abort=2 -mtriple=amdgcn-amd-amdpal -mcpu=fiji -o - 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\fshr.ll'
# .---command stderr------------
# | warning: Instruction selection used fallback path for v_fshr_i7
# | warning: Instruction selection used fallback path for v_fshr_i8
# | warning: Instruction selection used fallback path for v_fshr_v2i8
# | warning: Instruction selection used fallback path for s_fshr_v4i8
# | warning: Instruction selection used fallback path for v_fshr_v4i8
# | warning: Instruction selection used fallback path for s_fshr_v2i24
# | warning: Instruction selection used fallback path for v_fshr_i16_ssv
# | warning: Instruction selection used fallback path for v_fshr_i16_svs
# | warning: Instruction selection used fallback path for v_fshr_i16_vss
# | warning: Instruction selection used fallback path for s_fshr_v2i16
# | warning: Instruction selection used fallback path for v_fshr_v2i16
# | warning: Instruction selection used fallback path for v_fshr_v2i16_4_8
# | warning: Instruction selection used fallback path for v_fshr_v2i16_ssv
# | warning: Instruction selection used fallback path for v_fshr_v2i16_svs
# | warning: Instruction selection used fallback path for v_fshr_v2i16_vss
# | warning: Instruction selection used fallback path for s_fshr_v3i16
# | warning: Instruction selection used fallback path for v_fshr_v3i16
# | warning: Instruction selection used fallback path for s_fshr_v4i16
# | warning: Instruction selection used fallback path for v_fshr_v4i16
# | warning: Instruction selection used fallback path for s_fshr_i64_5
# | warning: Instruction selection used fallback path for s_fshr_i64_48
# | warning: Instruction selection used fallback path for v_fshr_i64_48
# | warning: Instruction selection used fallback path for s_fshr_i128
# | warning: Instruction selection used fallback path for v_fshr_i128
# | warning: Instruction selection used fallback path for v_fshr_i128_ssv
# | warning: Instruction selection used fallback path for v_fshr_i128_svs
# | warning: Instruction selection used fallback path for v_fshr_i128_vss
# | warning: Instruction selection used fallback path for s_fshr_i128_65
# | warning: Instruction selection used fallback path for s_fshr_v2i128
# | warning: Instruction selection used fallback path for v_fshr_v2i128
# `-----------------------------
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' -check-prefixes=GCN,GFX8 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\fshr.ll'
# note: command had no output on stdout or stderr
# RUN: at line 4
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -global-isel -global-isel-abort=2 -mtriple=amdgcn-amd-amdpal -mcpu=gfx900 -o - C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\fshr.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe -check-prefixes=GCN,GFX9 C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\fshr.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -global-isel -global-isel-abort=2 -mtriple=amdgcn-amd-amdpal -mcpu=gfx900 -o - 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\fshr.ll'
# .---command stderr------------
# | warning: Instruction selection used fallback path for v_fshr_i7
# | warning: Instruction selection used fallback path for v_fshr_i8
# | warning: Instruction selection used fallback path for v_fshr_v2i8
# | warning: Instruction selection used fallback path for s_fshr_v4i8
# | warning: Instruction selection used fallback path for v_fshr_v4i8
# | warning: Instruction selection used fallback path for s_fshr_v2i24
# | warning: Instruction selection used fallback path for v_fshr_i16_ssv
# | warning: Instruction selection used fallback path for v_fshr_i16_svs
# | warning: Instruction selection used fallback path for v_fshr_i16_vss
# | warning: Instruction selection used fallback path for s_fshr_v3i16
# | warning: Instruction selection used fallback path for v_fshr_v3i16
# | warning: Instruction selection used fallback path for s_fshr_i64_5
# | warning: Instruction selection used fallback path for s_fshr_i64_48
# | warning: Instruction selection used fallback path for v_fshr_i64_48
# | warning: Instruction selection used fallback path for s_fshr_i128
# | warning: Instruction selection used fallback path for v_fshr_i128
# | warning: Instruction selection used fallback path for v_fshr_i128_ssv
# | warning: Instruction selection used fallback path for v_fshr_i128_svs
# | warning: Instruction selection used fallback path for v_fshr_i128_vss
# | warning: Instruction selection used fallback path for s_fshr_i128_65
# | warning: Instruction selection used fallback path for s_fshr_v2i128
# | warning: Instruction selection used fallback path for v_fshr_v2i128
# `-----------------------------
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' -check-prefixes=GCN,GFX9 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\fshr.ll'
# note: command had no output on stdout or stderr
# RUN: at line 5
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -global-isel -global-isel-abort=2 -mtriple=amdgcn-amd-amdpal -mcpu=gfx1010 -o - C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\fshr.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe -check-prefixes=GCN,GFX10 C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\fshr.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -global-isel -global-isel-abort=2 -mtriple=amdgcn-amd-amdpal -mcpu=gfx1010 -o - 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\fshr.ll'
# .---command stderr------------
# | warning: Instruction selection used fallback path for v_fshr_i7
# | warning: Instruction selection used fallback path for v_fshr_i8
# | warning: Instruction selection used fallback path for v_fshr_v2i8
# | warning: Instruction selection used fallback path for s_fshr_v4i8
# | warning: Instruction selection used fallback path for v_fshr_v4i8
# | warning: Instruction selection used fallback path for s_fshr_v2i24
# | warning: Instruction selection used fallback path for v_fshr_i16_ssv
# | warning: Instruction selection used fallback path for v_fshr_i16_svs
# | warning: Instruction selection used fallback path for v_fshr_i16_vss
# | warning: Instruction selection used fallback path for s_fshr_v3i16
# | warning: Instruction selection used fallback path for v_fshr_v3i16
# | warning: Instruction selection used fallback path for s_fshr_i64_5
# | warning: Instruction selection used fallback path for s_fshr_i64_48
# | warning: Instruction selection used fallback path for v_fshr_i64_48
# | warning: Instruction selection used fallback path for s_fshr_i128
# | warning: Instruction selection used fallback path for v_fshr_i128
# | warning: Instruction selection used fallback path for v_fshr_i128_ssv
# | warning: Instruction selection used fallback path for v_fshr_i128_svs
# | warning: Instruction selection used fallback path for v_fshr_i128_vss
# | warning: Instruction selection used fallback path for s_fshr_i128_65
# | warning: Instruction selection used fallback path for s_fshr_v2i128
# | warning: Instruction selection used fallback path for v_fshr_v2i128
# `-----------------------------
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' -check-prefixes=GCN,GFX10 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\fshr.ll'
# note: command had no output on stdout or stderr
# RUN: at line 6
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -global-isel -global-isel-abort=2 -mtriple=amdgcn-amd-amdpal -mcpu=gfx1100 -mattr=+real-true16 -o - C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\fshr.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe -check-prefixes=GFX11,GFX11-TRUE16 C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\fshr.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -global-isel -global-isel-abort=2 -mtriple=amdgcn-amd-amdpal -mcpu=gfx1100 -mattr=+real-true16 -o - 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\fshr.ll'
# .---command stderr------------
# | warning: Instruction selection used fallback path for v_fshr_i7
# | warning: Instruction selection used fallback path for v_fshr_i8
# | warning: Instruction selection used fallback path for v_fshr_v2i8
# | warning: Instruction selection used fallback path for s_fshr_v4i8
# | warning: Instruction selection used fallback path for v_fshr_v4i8
# | warning: Instruction selection used fallback path for s_fshr_v2i24
# | warning: Instruction selection used fallback path for s_fshr_i64_5
# | warning: Instruction selection used fallback path for s_fshr_i64_48
# | warning: Instruction selection used fallback path for v_fshr_i64_48
# | warning: Instruction selection used fallback path for s_fshr_i128
# | warning: Instruction selection used fallback path for v_fshr_i128
# | warning: Instruction selection used fallback path for v_fshr_i128_ssv
# | warning: Instruction selection used fallback path for v_fshr_i128_svs
# | warning: Instruction selection used fallback path for v_fshr_i128_vss
# | warning: Instruction selection used fallback path for s_fshr_i128_65
# | warning: Instruction selection used fallback path for s_fshr_v2i128
# | warning: Instruction selection used fallback path for v_fshr_v2i128
# `-----------------------------
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' -check-prefixes=GFX11,GFX11-TRUE16 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\fshr.ll'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\fshr.ll:4851:22: error: GFX11-TRUE16-NEXT: expected string not found in input
# | ; GFX11-TRUE16-NEXT: v_mov_b16_e32 v2.h, 0
# | ^
# | <stdin>:2664:34: note: scanning from here
# | v_lshlrev_b64 v[0:1], 16, v[0:1]
# | ^
# | <stdin>:2667:2: note: possible intended match here
# | v_or_b32_e32 v0, v0, v2
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\fshr.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 2659: .p2align 7
# | 2660: .type v_fshr_i64_48, at function
# | 2661: v_fshr_i64_48: ; @v_fshr_i64_48
# | 2662: ; %bb.0:
# | 2663: s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
# | 2664: v_lshlrev_b64 v[0:1], 16, v[0:1]
# | next:4851'0 { search range start (exclusive)
# | next:4851'1 error: no match found in search range
# | 2665: v_lshrrev_b32_e64 v2, 16, v3
# | 2666: s_delay_alu instid0(VALU_DEP_1)
# | 2667: v_or_b32_e32 v0, v0, v2
# | next:4851'2 ? possible intended match
# | 2668: s_setpc_b64 s[30:31]
# | 2669: .Lfunc_end54:
# | 2670: .size v_fshr_i64_48, .Lfunc_end54-v_fshr_i64_48
# | 2671: ; -- End function
# | 2672: .set .Lv_fshr_i64_48.num_vgpr, 4
# | .
# | .
# | .
# | 2688: ; MemoryBound: 0
# | 2689: .text
# | 2690: .globl v_fshr_i64_ssv ; -- Begin function v_fshr_i64_ssv
# | 2691: .p2align 8
# | 2692: .type v_fshr_i64_ssv, at function
# | 2693: v_fshr_i64_ssv: ; @v_fshr_i64_ssv
# | next:4851'3 } search range end (exclusive)
# | 2694: ; %bb.0:
# | 2695: v_bfi_b32 v1, v0, 0, 63
# | 2696: v_and_b32_e32 v2, 63, v0
# | 2697: s_lshl_b64 s[0:1], s[0:1], 1
# | 2698: s_delay_alu instid0(VALU_DEP_2) | instid1(SALU_CYCLE_1)
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>LLVM.CodeGen/AMDGPU/GlobalISel/insertelement.i16.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -global-isel -global-isel-abort=2 -mtriple=amdgcn-mesa-mesa3d -mcpu=gfx900 < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\insertelement.i16.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\insertelement.i16.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -global-isel -global-isel-abort=2 -mtriple=amdgcn-mesa-mesa3d -mcpu=gfx900
# .---command stderr------------
# | warning: Instruction selection used fallback path for insertelement_s_v2i16_s_s
# | warning: Instruction selection used fallback path for insertelement_v_v2i16_s_s
# | warning: Instruction selection used fallback path for insertelement_s_v2i16_v_s
# | warning: Instruction selection used fallback path for insertelement_s_v2i16_s_v
# | warning: Instruction selection used fallback path for insertelement_s_v2i16_v_v
# | warning: Instruction selection used fallback path for insertelement_v_v2i16_s_v
# | warning: Instruction selection used fallback path for insertelement_v_v2i16_v_s
# | warning: Instruction selection used fallback path for insertelement_v_v2i16_v_v
# | warning: Instruction selection used fallback path for insertelement_v_v4i16_s_s
# | warning: Instruction selection used fallback path for insertelement_s_v4i16_v_s
# | warning: Instruction selection used fallback path for insertelement_s_v4i16_s_v
# | warning: Instruction selection used fallback path for insertelement_s_v4i16_v_v
# | warning: Instruction selection used fallback path for insertelement_v_v4i16_s_v
# | warning: Instruction selection used fallback path for insertelement_v_v4i16_v_s
# | warning: Instruction selection used fallback path for insertelement_v_v4i16_v_v
# | warning: Instruction selection used fallback path for insertelement_s_v8i16_s_s
# | warning: Instruction selection used fallback path for insertelement_v_v8i16_s_s
# | warning: Instruction selection used fallback path for insertelement_s_v8i16_v_s
# | warning: Instruction selection used fallback path for insertelement_s_v8i16_s_v
# | warning: Instruction selection used fallback path for insertelement_s_v8i16_v_v
# | warning: Instruction selection used fallback path for insertelement_v_v8i16_s_v
# | warning: Instruction selection used fallback path for insertelement_v_v8i16_v_s
# | warning: Instruction selection used fallback path for insertelement_v_v8i16_v_v
# | warning: Instruction selection used fallback path for insertelement_s_v16i16_s_s
# | warning: Instruction selection used fallback path for insertelement_v_v16i16_s_s
# | warning: Instruction selection used fallback path for insertelement_s_v16i16_v_s
# | warning: Instruction selection used fallback path for insertelement_s_v16i16_s_v
# | warning: Instruction selection used fallback path for insertelement_s_v16i16_v_v
# | warning: Instruction selection used fallback path for insertelement_v_v16i16_s_v
# | warning: Instruction selection used fallback path for insertelement_v_v16i16_v_s
# | warning: Instruction selection used fallback path for insertelement_v_v16i16_v_v
# `-----------------------------
# 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\insertelement.i16.ll'
# note: command had no output on stdout or stderr
# RUN: at line 3
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -global-isel -global-isel-abort=2 -mtriple=amdgcn-mesa-mesa3d -mcpu=fiji < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\insertelement.i16.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe --check-prefix=GFX8 C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\insertelement.i16.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -global-isel -global-isel-abort=2 -mtriple=amdgcn-mesa-mesa3d -mcpu=fiji
# .---command stderr------------
# | warning: Instruction selection used fallback path for insertelement_s_v2i16_s_s
# | warning: Instruction selection used fallback path for insertelement_v_v2i16_s_s
# | warning: Instruction selection used fallback path for insertelement_s_v2i16_v_s
# | warning: Instruction selection used fallback path for insertelement_s_v2i16_s_v
# | warning: Instruction selection used fallback path for insertelement_s_v2i16_v_v
# | warning: Instruction selection used fallback path for insertelement_v_v2i16_s_v
# | warning: Instruction selection used fallback path for insertelement_v_v2i16_v_s
# | warning: Instruction selection used fallback path for insertelement_v_v2i16_v_v
# | warning: Instruction selection used fallback path for insertelement_v_v4i16_s_s
# | warning: Instruction selection used fallback path for insertelement_s_v4i16_v_s
# | warning: Instruction selection used fallback path for insertelement_s_v4i16_s_v
# | warning: Instruction selection used fallback path for insertelement_s_v4i16_v_v
# | warning: Instruction selection used fallback path for insertelement_v_v4i16_s_v
# | warning: Instruction selection used fallback path for insertelement_v_v4i16_v_s
# | warning: Instruction selection used fallback path for insertelement_v_v4i16_v_v
# | warning: Instruction selection used fallback path for insertelement_s_v8i16_s_s
# | warning: Instruction selection used fallback path for insertelement_v_v8i16_s_s
# | warning: Instruction selection used fallback path for insertelement_s_v8i16_v_s
# | warning: Instruction selection used fallback path for insertelement_s_v8i16_s_v
# | warning: Instruction selection used fallback path for insertelement_s_v8i16_v_v
# | warning: Instruction selection used fallback path for insertelement_v_v8i16_s_v
# | warning: Instruction selection used fallback path for insertelement_v_v8i16_v_s
# | warning: Instruction selection used fallback path for insertelement_v_v8i16_v_v
# | warning: Instruction selection used fallback path for insertelement_s_v16i16_s_s
# | warning: Instruction selection used fallback path for insertelement_v_v16i16_s_s
# | warning: Instruction selection used fallback path for insertelement_s_v16i16_v_s
# | warning: Instruction selection used fallback path for insertelement_s_v16i16_s_v
# | warning: Instruction selection used fallback path for insertelement_s_v16i16_v_v
# | warning: Instruction selection used fallback path for insertelement_v_v16i16_s_v
# | warning: Instruction selection used fallback path for insertelement_v_v16i16_v_s
# | warning: Instruction selection used fallback path for insertelement_v_v16i16_v_v
# `-----------------------------
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' --check-prefix=GFX8 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\insertelement.i16.ll'
# note: command had no output on stdout or stderr
# RUN: at line 4
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -global-isel -global-isel-abort=2 -mtriple=amdgcn-mesa-mesa3d -mcpu=hawaii < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\insertelement.i16.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe --check-prefix=GFX7 C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\insertelement.i16.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -global-isel -global-isel-abort=2 -mtriple=amdgcn-mesa-mesa3d -mcpu=hawaii
# .---command stderr------------
# | warning: Instruction selection used fallback path for insertelement_s_v2i16_s_s
# | warning: Instruction selection used fallback path for insertelement_v_v2i16_s_s
# | warning: Instruction selection used fallback path for insertelement_s_v2i16_v_s
# | warning: Instruction selection used fallback path for insertelement_s_v2i16_s_v
# | warning: Instruction selection used fallback path for insertelement_s_v2i16_v_v
# | warning: Instruction selection used fallback path for insertelement_v_v2i16_s_v
# | warning: Instruction selection used fallback path for insertelement_v_v2i16_v_s
# | warning: Instruction selection used fallback path for insertelement_v_v2i16_v_v
# | warning: Instruction selection used fallback path for insertelement_v_v4i16_s_s
# | warning: Instruction selection used fallback path for insertelement_s_v4i16_v_s
# | warning: Instruction selection used fallback path for insertelement_s_v4i16_s_v
# | warning: Instruction selection used fallback path for insertelement_s_v4i16_v_v
# | warning: Instruction selection used fallback path for insertelement_v_v4i16_s_v
# | warning: Instruction selection used fallback path for insertelement_v_v4i16_v_s
# | warning: Instruction selection used fallback path for insertelement_v_v4i16_v_v
# | warning: Instruction selection used fallback path for insertelement_s_v8i16_s_s
# | warning: Instruction selection used fallback path for insertelement_v_v8i16_s_s
# | warning: Instruction selection used fallback path for insertelement_s_v8i16_v_s
# | warning: Instruction selection used fallback path for insertelement_s_v8i16_s_v
# | warning: Instruction selection used fallback path for insertelement_s_v8i16_v_v
# | warning: Instruction selection used fallback path for insertelement_v_v8i16_s_v
# | warning: Instruction selection used fallback path for insertelement_v_v8i16_v_s
# | warning: Instruction selection used fallback path for insertelement_v_v8i16_v_v
# | warning: Instruction selection used fallback path for insertelement_s_v16i16_s_s
# | warning: Instruction selection used fallback path for insertelement_v_v16i16_s_s
# | warning: Instruction selection used fallback path for insertelement_s_v16i16_v_s
# | warning: Instruction selection used fallback path for insertelement_s_v16i16_s_v
# | warning: Instruction selection used fallback path for insertelement_s_v16i16_v_v
# | warning: Instruction selection used fallback path for insertelement_v_v16i16_s_v
# | warning: Instruction selection used fallback path for insertelement_v_v16i16_v_s
# | warning: Instruction selection used fallback path for insertelement_v_v16i16_v_v
# `-----------------------------
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' --check-prefix=GFX7 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\insertelement.i16.ll'
# note: command had no output on stdout or stderr
# RUN: at line 5
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -global-isel -global-isel-abort=2 -mtriple=amdgcn-mesa-mesa3d -mcpu=gfx1010 < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\insertelement.i16.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe --check-prefix=GFX10 C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\insertelement.i16.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -global-isel -global-isel-abort=2 -mtriple=amdgcn-mesa-mesa3d -mcpu=gfx1010
# .---command stderr------------
# | warning: Instruction selection used fallback path for insertelement_s_v2i16_s_s
# | warning: Instruction selection used fallback path for insertelement_v_v2i16_s_s
# | warning: Instruction selection used fallback path for insertelement_s_v2i16_v_s
# | warning: Instruction selection used fallback path for insertelement_s_v2i16_s_v
# | warning: Instruction selection used fallback path for insertelement_s_v2i16_v_v
# | warning: Instruction selection used fallback path for insertelement_v_v2i16_s_v
# | warning: Instruction selection used fallback path for insertelement_v_v2i16_v_s
# | warning: Instruction selection used fallback path for insertelement_v_v2i16_v_v
# | warning: Instruction selection used fallback path for insertelement_v_v4i16_s_s
# | warning: Instruction selection used fallback path for insertelement_s_v4i16_v_s
# | warning: Instruction selection used fallback path for insertelement_s_v4i16_s_v
# | warning: Instruction selection used fallback path for insertelement_s_v4i16_v_v
# | warning: Instruction selection used fallback path for insertelement_v_v4i16_s_v
# | warning: Instruction selection used fallback path for insertelement_v_v4i16_v_s
# | warning: Instruction selection used fallback path for insertelement_v_v4i16_v_v
# | warning: Instruction selection used fallback path for insertelement_s_v8i16_s_s
# | warning: Instruction selection used fallback path for insertelement_v_v8i16_s_s
# | warning: Instruction selection used fallback path for insertelement_s_v8i16_v_s
# | warning: Instruction selection used fallback path for insertelement_s_v8i16_s_v
# | warning: Instruction selection used fallback path for insertelement_s_v8i16_v_v
# | warning: Instruction selection used fallback path for insertelement_v_v8i16_s_v
# | warning: Instruction selection used fallback path for insertelement_v_v8i16_v_s
# | warning: Instruction selection used fallback path for insertelement_v_v8i16_v_v
# | warning: Instruction selection used fallback path for insertelement_s_v16i16_s_s
# | warning: Instruction selection used fallback path for insertelement_v_v16i16_s_s
# | warning: Instruction selection used fallback path for insertelement_s_v16i16_v_s
# | warning: Instruction selection used fallback path for insertelement_s_v16i16_s_v
# | warning: Instruction selection used fallback path for insertelement_s_v16i16_v_v
# | warning: Instruction selection used fallback path for insertelement_v_v16i16_s_v
# | warning: Instruction selection used fallback path for insertelement_v_v16i16_v_s
# | warning: Instruction selection used fallback path for insertelement_v_v16i16_v_v
# `-----------------------------
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' --check-prefix=GFX10 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\insertelement.i16.ll'
# note: command had no output on stdout or stderr
# RUN: at line 6
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -global-isel -global-isel-abort=2 -mtriple=amdgcn-mesa-mesa3d -mcpu=gfx1100 < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\insertelement.i16.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe --check-prefix=GFX11 C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\insertelement.i16.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -global-isel -global-isel-abort=2 -mtriple=amdgcn-mesa-mesa3d -mcpu=gfx1100
# .---command stderr------------
# | warning: Instruction selection used fallback path for insertelement_s_v2i16_s_s
# | warning: Instruction selection used fallback path for insertelement_v_v2i16_s_s
# | warning: Instruction selection used fallback path for insertelement_s_v2i16_v_s
# | warning: Instruction selection used fallback path for insertelement_s_v2i16_s_v
# | warning: Instruction selection used fallback path for insertelement_s_v2i16_v_v
# | warning: Instruction selection used fallback path for insertelement_v_v2i16_s_v
# | warning: Instruction selection used fallback path for insertelement_v_v2i16_v_s
# | warning: Instruction selection used fallback path for insertelement_v_v2i16_v_v
# | warning: Instruction selection used fallback path for insertelement_v_v4i16_s_s
# | warning: Instruction selection used fallback path for insertelement_s_v4i16_v_s
# | warning: Instruction selection used fallback path for insertelement_s_v4i16_s_v
# | warning: Instruction selection used fallback path for insertelement_s_v4i16_v_v
# | warning: Instruction selection used fallback path for insertelement_v_v4i16_s_v
# | warning: Instruction selection used fallback path for insertelement_v_v4i16_v_s
# | warning: Instruction selection used fallback path for insertelement_v_v4i16_v_v
# | warning: Instruction selection used fallback path for insertelement_s_v8i16_s_s
# | warning: Instruction selection used fallback path for insertelement_v_v8i16_s_s
# | warning: Instruction selection used fallback path for insertelement_s_v8i16_v_s
# | warning: Instruction selection used fallback path for insertelement_s_v8i16_s_v
# | warning: Instruction selection used fallback path for insertelement_s_v8i16_v_v
# | warning: Instruction selection used fallback path for insertelement_v_v8i16_s_v
# | warning: Instruction selection used fallback path for insertelement_v_v8i16_v_s
# | warning: Instruction selection used fallback path for insertelement_v_v8i16_v_v
# | warning: Instruction selection used fallback path for insertelement_s_v16i16_s_s
# | warning: Instruction selection used fallback path for insertelement_v_v16i16_s_s
# | warning: Instruction selection used fallback path for insertelement_s_v16i16_v_s
# | warning: Instruction selection used fallback path for insertelement_s_v16i16_s_v
# | warning: Instruction selection used fallback path for insertelement_s_v16i16_v_v
# | warning: Instruction selection used fallback path for insertelement_v_v16i16_s_v
# | warning: Instruction selection used fallback path for insertelement_v_v16i16_v_s
# | warning: Instruction selection used fallback path for insertelement_v_v16i16_v_v
# `-----------------------------
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' --check-prefix=GFX11 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\insertelement.i16.ll'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\insertelement.i16.ll:246:15: error: GFX11-NEXT: expected string not found in input
# | ; GFX11-NEXT: v_mov_b16_e32 v2.l, v0.l
# | ^
# | <stdin>:159:28: note: scanning from here
# | s_load_b32 s0, s[2:3], 0x0
# | ^
# | <stdin>:162:31: note: possible intended match here
# | v_dual_mov_b32 v0, 0 :: v_dual_mov_b32 v1, 0
# | ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\insertelement.i16.ll:407:15: error: GFX11-NEXT: expected string not found in input
# | ; GFX11-NEXT: v_mov_b16_e32 v3.l, v0.l
# | ^
# | <stdin>:293:29: note: scanning from here
# | v_lshlrev_b32_e32 v1, 4, v1
# | ^
# | <stdin>:295:2: note: possible intended match here
# | v_mov_b32_e32 v0, 0
# | ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\insertelement.i16.ll:569:15: error: GFX11-NEXT: expected string not found in input
# | ; GFX11-NEXT: v_mov_b16_e32 v4.l, v2.l
# | ^
# | <stdin>:427:33: note: scanning from here
# | global_load_b32 v3, v[0:1], off
# | ^
# | <stdin>:430:31: note: possible intended match here
# | v_dual_mov_b32 v0, 0 :: v_dual_mov_b32 v1, 0
# | ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\insertelement.i16.ll:652:15: error: GFX11-NEXT: expected string not found in input
# | ; GFX11-NEXT: v_mov_b16_e32 v5.l, v2.l
# | ^
# | <stdin>:494:54: note: scanning from here
# | v_dual_mov_b32 v1, 0 :: v_dual_lshlrev_b32 v0, 4, v3
# | ^
# | <stdin>:498:2: note: possible intended match here
# | v_mov_b32_e32 v0, 0
# | ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\insertelement.i16.ll:885:15: error: GFX11-NEXT: expected string not found in input
# | ; GFX11-NEXT: v_mov_b16_e32 v2.l, v0.l
# | ^
# | <stdin>:627:32: note: scanning from here
# | s_load_b64 s[0:1], s[2:3], 0x0
# | ^
# | <stdin>:630:31: note: possible intended match here
# | v_dual_mov_b32 v0, 0 :: v_dual_mov_b32 v1, 0
# | ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\insertelement.i16.ll:1062:15: error: GFX11-NEXT: expected string not found in input
# | ; GFX11-NEXT: v_mov_b16_e32 v5.l, v0.l
# | ^
# | <stdin>:764:54: note: scanning from here
# | v_dual_mov_b32 v4, 0 :: v_dual_lshlrev_b32 v1, 4, v1
# | ^
# | <stdin>:766:2: note: possible intended match here
# | v_mov_b32_e32 v3, 0
# | ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\insertelement.i16.ll:1236:15: error: GFX11-NEXT: expected string not found in input
# | ; GFX11-NEXT: v_mov_b16_e32 v4.l, v2.l
# | ^
# | <stdin>:901:37: note: scanning from here
# | global_load_b64 v[0:1], v[0:1], off
# | ^
# | <stdin>:904:31: note: possible intended match here
# | v_dual_mov_b32 v2, 0 :: v_dual_mov_b32 v3, 0
# | ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\insertelement.i16.ll:1325:15: error: GFX11-NEXT: expected string not found in input
# | ; GFX11-NEXT: v_mov_b16_e32 v7.l, v2.l
# | ^
# | <stdin>:969:54: note: scanning from here
# | v_dual_mov_b32 v6, 0 :: v_dual_lshlrev_b32 v3, 4, v3
# | ^
# | <stdin>:971:2: note: possible intended match here
# | v_mov_b32_e32 v5, 0
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\insertelement.i16.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 154: .globl insertelement_s_v2i16_v_s ; -- Begin function insertelement_s_v2i16_v_s
# | 155: .p2align 8
# | 156: .type insertelement_s_v2i16_v_s, at function
# | 157: insertelement_s_v2i16_v_s: ; @insertelement_s_v2i16_v_s
# | 158: ; %bb.0:
# | 159: s_load_b32 s0, s[2:3], 0x0
# | next:246'0 { search range start (exclusive)
# | next:246'1 error: no match found in search range
# | 160: v_perm_b32 v2, v0, v0, 0x5040100
# | 161: s_lshl_b32 s1, s4, 4
# | 162: v_dual_mov_b32 v0, 0 :: v_dual_mov_b32 v1, 0
# | next:246'2 ? possible intended match
# | 163: s_lshl_b32 s1, 0xffff, s1
# | 164: s_waitcnt lgkmcnt(0)
# | 165: v_bfi_b32 v2, s1, v2, s0
# | 166: global_store_b32 v[0:1], v2, off
# | 167: s_endpgm
# | .
# | .
# | .
# | 218: .long 0
# | 219: .text
# | 220: .globl insertelement_s_v2i16_s_v ; -- Begin function insertelement_s_v2i16_s_v
# | 221: .p2align 8
# | 222: .type insertelement_s_v2i16_s_v, at function
# | 223: insertelement_s_v2i16_s_v: ; @insertelement_s_v2i16_s_v
# | next:246'3 } search range end (exclusive)
# | 224: ; %bb.0:
# | 225: s_load_b32 s0, s[2:3], 0x0
# | 226: v_dual_mov_b32 v1, 0 :: v_dual_lshlrev_b32 v0, 4, v0
# | 227: s_pack_ll_b32_b16 s1, s4, s4
# | 228: s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_2) | instid1(VALU_DEP_2)
# | .
# | .
# | .
# | 288: .p2align 8
# | 289: .type insertelement_s_v2i16_v_v, at function
# | 290: insertelement_s_v2i16_v_v: ; @insertelement_s_v2i16_v_v
# | 291: ; %bb.0:
# | 292: s_load_b32 s0, s[2:3], 0x0
# | 293: v_lshlrev_b32_e32 v1, 4, v1
# | next:407'0 { search range start (exclusive)
# | next:407'1 error: no match found in search range
# | 294: v_perm_b32 v3, v0, v0, 0x5040100
# | 295: v_mov_b32_e32 v0, 0
# | next:407'2 ? possible intended match
# | 296: s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_2) | instid1(VALU_DEP_2)
# | 297: v_lshlrev_b32_e64 v2, v1, 0xffff
# | 298: v_mov_b32_e32 v1, 0
# | 299: s_waitcnt lgkmcnt(0)
# | 300: v_bfi_b32 v2, v2, v3, s0
# | .
# | .
# | .
# | 353: .long 0
# | 354: .text
# | 355: .globl insertelement_v_v2i16_s_v ; -- Begin function insertelement_v_v2i16_s_v
# | 356: .p2align 8
# | 357: .type insertelement_v_v2i16_s_v, at function
# | 358: insertelement_v_v2i16_s_v: ; @insertelement_v_v2i16_s_v
# | next:407'3 } search range end (exclusive)
# | 359: ; %bb.0:
# | 360: global_load_b32 v3, v[0:1], off
# | 361: v_dual_mov_b32 v1, 0 :: v_dual_lshlrev_b32 v0, 4, v2
# | 362: s_pack_ll_b32_b16 s0, s2, s2
# | 363: s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_2) | instid1(VALU_DEP_2)
# | .
# | .
# | .
# | 422: .globl insertelement_v_v2i16_v_s ; -- Begin function insertelement_v_v2i16_v_s
# | 423: .p2align 8
# | 424: .type insertelement_v_v2i16_v_s, at function
# | 425: insertelement_v_v2i16_v_s: ; @insertelement_v_v2i16_v_s
# | 426: ; %bb.0:
# | 427: global_load_b32 v3, v[0:1], off
# | next:569'0 { search range start (exclusive)
# | next:569'1 error: no match found in search range
# | 428: v_perm_b32 v4, v2, v2, 0x5040100
# | 429: s_lshl_b32 s0, s2, 4
# | 430: v_dual_mov_b32 v0, 0 :: v_dual_mov_b32 v1, 0
# | next:569'2 ? possible intended match
# | 431: s_lshl_b32 s0, 0xffff, s0
# | 432: s_waitcnt vmcnt(0)
# | 433: v_bfi_b32 v2, s0, v4, v3
# | 434: global_store_b32 v[0:1], v2, off
# | 435: s_endpgm
# | .
# | .
# | .
# | 486: .long 0
# | 487: .text
# | 488: .globl insertelement_v_v2i16_v_v ; -- Begin function insertelement_v_v2i16_v_v
# | 489: .p2align 8
# | 490: .type insertelement_v_v2i16_v_v, at function
# | 491: insertelement_v_v2i16_v_v: ; @insertelement_v_v2i16_v_v
# | next:569'3 } search range end (exclusive)
# | 492: ; %bb.0:
# | 493: global_load_b32 v4, v[0:1], off
# | 494: v_dual_mov_b32 v1, 0 :: v_dual_lshlrev_b32 v0, 4, v3
# | next:652'0 { search range start (exclusive)
# | next:652'1 error: no match found in search range
# | 495: v_perm_b32 v5, v2, v2, 0x5040100
# | 496: s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_2) | instid1(VALU_DEP_2)
# | 497: v_lshlrev_b32_e64 v3, v0, 0xffff
# | 498: v_mov_b32_e32 v0, 0
# | next:652'2 ? possible intended match
# | 499: s_waitcnt vmcnt(0)
# | 500: v_bfi_b32 v2, v3, v5, v4
# | 501: global_store_b32 v[0:1], v2, off
# | 502: s_endpgm
# | 503: .Lfunc_end7:
# | .
# | .
# | .
# | 553: .long 0
# | 554: .text
# | 555: .globl insertelement_v_v4i16_s_s ; -- Begin function insertelement_v_v4i16_s_s
# | 556: .p2align 8
# | 557: .type insertelement_v_v4i16_s_s, at function
# | 558: insertelement_v_v4i16_s_s: ; @insertelement_v_v4i16_s_s
# | next:652'3 } search range end (exclusive)
# | 559: ; %bb.0:
# | 560: global_load_b64 v[0:1], v[0:1], off
# | 561: s_lshl_b32 s0, s3, 4
# | 562: s_pack_ll_b32_b16 s2, s2, s2
# | 563: s_lshl_b64 s[0:1], 0xffff, s0
# | .
# | .
# | .
# | 622: .globl insertelement_s_v4i16_v_s ; -- Begin function insertelement_s_v4i16_v_s
# | 623: .p2align 8
# | 624: .type insertelement_s_v4i16_v_s, at function
# | 625: insert
# | ...
# `---data was truncated (10240/16376) (change limit with -D output_limit=N)
# 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/208625
More information about the llvm-commits
mailing list