[llvm] [GISel] Use GISelValueTracking in isKnownNeverNaN (PR #190542)
via llvm-commits
llvm-commits at lists.llvm.org
Sun Apr 5 11:39:09 PDT 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results
* 133052 tests passed
* 3061 tests skipped
* 13 tests failed
## Failed Tests
(click on a test name to see its output)
### LLVM
<details>
<summary>LLVM.CodeGen/AMDGPU/GlobalISel/clamp-fmed3-const-combine.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -global-isel -new-reg-bank-select -mtriple=amdgcn-amd-mesa3d -mcpu=gfx1010 < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\clamp-fmed3-const-combine.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\clamp-fmed3-const-combine.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -global-isel -new-reg-bank-select -mtriple=amdgcn-amd-mesa3d -mcpu=gfx1010
# note: command had no output on stdout or stderr
# 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\clamp-fmed3-const-combine.ll'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\clamp-fmed3-const-combine.ll:127:15: error: GFX10-NEXT: expected string not found in input
# | ; GFX10-NEXT: v_mul_f32_e64 v0, v0, 2.0 clamp
# | ^
# | <stdin>:179:41: note: scanning from here
# | s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
# | ^
# | <stdin>:180:2: note: possible intended match here
# | v_mul_f32_e32 v0, 2.0, v0
# | ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\clamp-fmed3-const-combine.ll:222:15: error: GFX10-NEXT: expected string not found in input
# | ; GFX10-NEXT: v_mul_f32_e64 v0, v0, 2.0 clamp
# | ^
# | <stdin>:303:41: note: scanning from here
# | s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
# | ^
# | <stdin>:304:2: note: possible intended match here
# | v_mul_f32_e32 v0, 2.0, v0
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\clamp-fmed3-const-combine.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 174: .globl test_fmed3_global_nnan ; -- Begin function test_fmed3_global_nnan
# | 175: .p2align 6
# | 176: .type test_fmed3_global_nnan, at function
# | 177: test_fmed3_global_nnan: ; @test_fmed3_global_nnan
# | 178: ; %bb.0:
# | 179: s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
# | next:127'0 X error: no match found
# | 180: v_mul_f32_e32 v0, 2.0, v0
# | next:127'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:127'1 ? possible intended match
# | 181: v_med3_f32 v0, v0, 0, 1.0
# | next:127'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 182: s_setpc_b64 s[30:31]
# | next:127'0 ~~~~~~~~~~~~~~~~~~~~~~
# | 183: .Lfunc_end4:
# | next:127'0 ~~~~~~~~~~~~~
# | 184: .size test_fmed3_global_nnan, .Lfunc_end4-test_fmed3_global_nnan
# | next:127'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 185: ; -- End function
# | next:127'0 ~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 298: .globl test_fmed3_maybe_SNaN_input_ieee_true_dx10clamp_true ; -- Begin function test_fmed3_maybe_SNaN_input_ieee_true_dx10clamp_true
# | 299: .p2align 6
# | 300: .type test_fmed3_maybe_SNaN_input_ieee_true_dx10clamp_true, at function
# | 301: test_fmed3_maybe_SNaN_input_ieee_true_dx10clamp_true: ; @test_fmed3_maybe_SNaN_input_ieee_true_dx10clamp_true
# | 302: ; %bb.0:
# | 303: s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
# | next:222'0 X error: no match found
# | 304: v_mul_f32_e32 v0, 2.0, v0
# | next:222'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:222'1 ? possible intended match
# | 305: v_med3_f32 v0, v0, 0, 1.0
# | next:222'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 306: s_setpc_b64 s[30:31]
# | next:222'0 ~~~~~~~~~~~~~~~~~~~~~~
# | 307: .Lfunc_end7:
# | next:222'0 ~~~~~~~~~~~~~
# | 308: .size test_fmed3_maybe_SNaN_input_ieee_true_dx10clamp_true, .Lfunc_end7-test_fmed3_maybe_SNaN_input_ieee_true_dx10clamp_true
# | next:222'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 309: ; -- End function
# | next:222'0 ~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>LLVM.CodeGen/AMDGPU/GlobalISel/clamp-minmax-const-combine.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -global-isel -new-reg-bank-select -mtriple=amdgcn-amd-mesa3d -mcpu=gfx1010 < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\clamp-minmax-const-combine.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\clamp-minmax-const-combine.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -global-isel -new-reg-bank-select -mtriple=amdgcn-amd-mesa3d -mcpu=gfx1010
# note: command had no output on stdout or stderr
# 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\clamp-minmax-const-combine.ll'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\clamp-minmax-const-combine.ll:67:15: error: GFX10-NEXT: expected string not found in input
# | ; GFX10-NEXT: v_mul_f16_e64 v0, v0, 2.0 clamp
# | ^
# | <stdin>:98:41: note: scanning from here
# | s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
# | ^
# | <stdin>:99:2: note: possible intended match here
# | v_mul_f16_e32 v0, 2.0, v0
# | ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\clamp-minmax-const-combine.ll:123:15: error: GFX10-NEXT: expected string not found in input
# | ; GFX10-NEXT: v_pk_mul_f16 v0, v0, 2.0 op_sel_hi:[1,0] clamp
# | ^
# | <stdin>:179:41: note: scanning from here
# | s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
# | ^
# | <stdin>:180:2: note: possible intended match here
# | v_pk_mul_f16 v0, v0, 2.0 op_sel_hi:[1,0]
# | ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\clamp-minmax-const-combine.ll:416:15: error: GFX10-NEXT: expected string not found in input
# | ; GFX10-NEXT: v_mul_f32_e64 v0, v0, 2.0 clamp
# | ^
# | <stdin>:583:41: note: scanning from here
# | s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
# | ^
# | <stdin>:584:2: note: possible intended match here
# | v_mul_f32_e32 v0, 2.0, v0
# | ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\clamp-minmax-const-combine.ll:446:15: error: GFX10-NEXT: expected string not found in input
# | ; GFX10-NEXT: v_mul_f32_e64 v0, v0, 2.0 clamp
# | ^
# | <stdin>:624:41: note: scanning from here
# | s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
# | ^
# | <stdin>:625:2: note: possible intended match here
# | v_mul_f32_e32 v0, 2.0, v0
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\clamp-minmax-const-combine.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 93: .globl test_min_K1max_ValK0_f16 ; -- Begin function test_min_K1max_ValK0_f16
# | 94: .p2align 6
# | 95: .type test_min_K1max_ValK0_f16, at function
# | 96: test_min_K1max_ValK0_f16: ; @test_min_K1max_ValK0_f16
# | 97: ; %bb.0:
# | 98: s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
# | next:67'0 X error: no match found
# | 99: v_mul_f16_e32 v0, 2.0, v0
# | next:67'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:67'1 ? possible intended match
# | 100: v_med3_f16 v0, v0, 0, 1.0
# | next:67'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 101: s_setpc_b64 s[30:31]
# | next:67'0 ~~~~~~~~~~~~~~~~~~~~~~
# | 102: .Lfunc_end2:
# | next:67'0 ~~~~~~~~~~~~~
# | 103: .size test_min_K1max_ValK0_f16, .Lfunc_end2-test_min_K1max_ValK0_f16
# | next:67'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 104: ; -- End function
# | next:67'0 ~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 174: .globl test_min_max_splat_padded_with_undef ; -- Begin function test_min_max_splat_padded_with_undef
# | 175: .p2align 6
# | 176: .type test_min_max_splat_padded_with_undef, at function
# | 177: test_min_max_splat_padded_with_undef: ; @test_min_max_splat_padded_with_undef
# | 178: ; %bb.0:
# | 179: s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
# | next:123'0 X error: no match found
# | 180: v_pk_mul_f16 v0, v0, 2.0 op_sel_hi:[1,0]
# | next:123'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:123'1 ? possible intended match
# | 181: v_pk_max_f16 v0, v0, 0
# | next:123'0 ~~~~~~~~~~~~~~~~~~~~~~~~
# | 182: v_pk_min_f16 v0, v0, 1.0
# | next:123'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 183: s_setpc_b64 s[30:31]
# | next:123'0 ~~~~~~~~~~~~~~~~~~~~~~
# | 184: .Lfunc_end4:
# | next:123'0 ~~~~~~~~~~~~~
# | 185: .size test_min_max_splat_padded_with_undef, .Lfunc_end4-test_min_max_splat_padded_with_undef
# | next:123'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 578: .globl test_min_max_maybe_NaN_input_ieee_true_dx10clamp_false ; -- Begin function test_min_max_maybe_NaN_input_ieee_true_dx10clamp_false
# | 579: .p2align 6
# | 580: .type test_min_max_maybe_NaN_input_ieee_true_dx10clamp_false, at function
# | 581: test_min_max_maybe_NaN_input_ieee_true_dx10clamp_false: ; @test_min_max_maybe_NaN_input_ieee_true_dx10clamp_false
# | 582: ; %bb.0:
# | 583: s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
# | next:416'0 X error: no match found
# | 584: v_mul_f32_e32 v0, 2.0, v0
# | next:416'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:416'1 ? possible intended match
# | 585: v_med3_f32 v0, v0, 0, 1.0
# | next:416'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 586: s_setpc_b64 s[30:31]
# | next:416'0 ~~~~~~~~~~~~~~~~~~~~~~
# | 587: .Lfunc_end14:
# | next:416'0 ~~~~~~~~~~~~~~
# | 588: .size test_min_max_maybe_NaN_input_ieee_true_dx10clamp_false, .Lfunc_end14-test_min_max_maybe_NaN_input_ieee_true_dx10clamp_false
# | next:416'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 589: ; -- End function
# | next:416'0 ~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 619: .globl test_max_min_maybe_NaN_input_ieee_true ; -- Begin function test_max_min_maybe_NaN_input_ieee_true
# | next:416'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 620: .p2align 6
# | next:416'0 ~~~~~~~~~~~~
# | 621: .type test_max_min_maybe_NaN_input_ieee_true, at function
# | next:416'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 622: test_max_min_maybe_NaN_input_ieee_true: ; @test_max_min_maybe_NaN_input_ieee_true
# | next:416'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 623: ; %bb.0:
# | 624: s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
# | next:446'0 X error: no match found
# | 625: v_mul_f32_e32 v0, 2.0, v0
# | next:446'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:446'1 ? possible intended match
# | 626: v_min_f32_e32 v0, 1.0, v0
# | next:446'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 627: v_max_f32_e32 v0, 0, v0
# | next:446'0 ~~~~~~~~~~~~~~~~~~~~~~~~~
# | 628: s_setpc_b64 s[30:31]
# | next:446'0 ~~~~~~~~~~~~~~~~~~~~~~
# | 629: .Lfunc_end15:
# | next:446'0 ~~~~~~~~~~~~~~
# | 630: .size test_max_min_maybe_NaN_input_ieee_true, .Lfunc_end15-test_max_min_maybe_NaN_input_ieee_true
# | next:446'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>LLVM.CodeGen/AMDGPU/GlobalISel/fmed3-min-max-const-combine.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -global-isel -new-reg-bank-select -mtriple=amdgcn-amd-mesa3d -mcpu=gfx803 < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\fmed3-min-max-const-combine.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\fmed3-min-max-const-combine.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -global-isel -new-reg-bank-select -mtriple=amdgcn-amd-mesa3d -mcpu=gfx803
# note: command had no output on stdout or stderr
# 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\fmed3-min-max-const-combine.ll'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\fmed3-min-max-const-combine.ll:634:14: error: GFX8-NEXT: expected string not found in input
# | ; GFX8-NEXT: v_med3_f32 v0, v0, 2.0, 4.0
# | ^
# | <stdin>:714:27: note: scanning from here
# | v_mul_f32_e32 v0, 1.0, v0
# | ^
# | <stdin>:716:2: note: possible intended match here
# | v_max_f32_e32 v0, 2.0, v0
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\fmed3-min-max-const-combine.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 709: .p2align 6
# | 710: .type test_max_min_maybe_NaN_input_ieee_true, at function
# | 711: test_max_min_maybe_NaN_input_ieee_true: ; @test_max_min_maybe_NaN_input_ieee_true
# | 712: ; %bb.0:
# | 713: s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
# | 714: v_mul_f32_e32 v0, 1.0, v0
# | next:634'0 X error: no match found
# | 715: v_min_f32_e32 v0, 4.0, v0
# | next:634'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 716: v_max_f32_e32 v0, 2.0, v0
# | next:634'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:634'1 ? possible intended match
# | 717: s_setpc_b64 s[30:31]
# | next:634'0 ~~~~~~~~~~~~~~~~~~~~~~
# | 718: .Lfunc_end17:
# | next:634'0 ~~~~~~~~~~~~~~
# | 719: .size test_max_min_maybe_NaN_input_ieee_true, .Lfunc_end17-test_max_min_maybe_NaN_input_ieee_true
# | next:634'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 720: ; -- End function
# | next:634'0 ~~~~~~~~~~~~~~~~~~~
# | 721: .set test_max_min_maybe_NaN_input_ieee_true.num_vgpr, 1
# | next:634'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>LLVM.CodeGen/AMDGPU/GlobalISel/legalize-fmaxnum.mir</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -mtriple=amdgcn-mesa-mesa3d -mcpu=tahiti -run-pass=legalizer C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\legalize-fmaxnum.mir -o - | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe -check-prefix=SI C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\legalize-fmaxnum.mir
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -mtriple=amdgcn-mesa-mesa3d -mcpu=tahiti -run-pass=legalizer 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\legalize-fmaxnum.mir' -o -
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' -check-prefix=SI 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\legalize-fmaxnum.mir'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\legalize-fmaxnum.mir:294:13: error: SI-NEXT: expected string not found in input
# | ; SI-NEXT: [[FMAXNUM_IEEE:%[0-9]+]]:_(s32) = G_FMAXNUM_IEEE [[FPEXT]], [[FPEXT1]]
# | ^
# | <stdin>:1039:29: note: scanning from here
# | %7:_(s32) = G_FPEXT %3(s16)
# | ^
# | <stdin>:1039:29: note: with "FPEXT" equal to "%6"
# | %7:_(s32) = G_FPEXT %3(s16)
# | ^
# | <stdin>:1039:29: note: with "FPEXT1" equal to "%7"
# | %7:_(s32) = G_FPEXT %3(s16)
# | ^
# | <stdin>:1042:2: note: possible intended match here
# | %8:_(s32) = G_FMAXNUM_IEEE %9, %10
# | ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\legalize-fmaxnum.mir:414:13: error: SI-NEXT: expected string not found in input
# | ; SI-NEXT: [[FMAXNUM_IEEE:%[0-9]+]]:_(s32) = G_FMAXNUM_IEEE [[FPEXT]], [[FPEXT1]]
# | ^
# | <stdin>:1327:30: note: scanning from here
# | %15:_(s32) = G_FPEXT %5(s16)
# | ^
# | <stdin>:1327:30: note: with "FPEXT" equal to "%14"
# | %15:_(s32) = G_FPEXT %5(s16)
# | ^
# | <stdin>:1327:30: note: with "FPEXT1" equal to "%15"
# | %15:_(s32) = G_FPEXT %5(s16)
# | ^
# | <stdin>:1330:2: note: possible intended match here
# | %16:_(s32) = G_FMAXNUM_IEEE %17, %18
# | ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\legalize-fmaxnum.mir:496:13: error: SI-NEXT: expected string not found in input
# | ; SI-NEXT: [[FMAXNUM_IEEE:%[0-9]+]]:_(s32) = G_FMAXNUM_IEEE [[FPEXT]], [[FPEXT1]]
# | ^
# | <stdin>:1555:31: note: scanning from here
# | %34:_(s32) = G_FPEXT %38(s16)
# | ^
# | <stdin>:1555:31: note: with "FPEXT" equal to "%33"
# | %34:_(s32) = G_FPEXT %38(s16)
# | ^
# | <stdin>:1555:31: note: with "FPEXT1" equal to "%34"
# | %34:_(s32) = G_FPEXT %38(s16)
# | ^
# | <stdin>:1564:2: note: possible intended match here
# | %30:_(s32) = G_FMAXNUM_IEEE %31, %32
# | ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\legalize-fmaxnum.mir:634:13: error: SI-NEXT: expected string not found in input
# | ; SI-NEXT: [[FMAXNUM_IEEE:%[0-9]+]]:_(s32) = G_FMAXNUM_IEEE [[FPEXT]], [[FPEXT1]]
# | ^
# | <stdin>:1774:30: note: scanning from here
# | %31:_(s32) = G_FPEXT %7(s16)
# | ^
# | <stdin>:1774:30: note: with "FPEXT" equal to "%30"
# | %31:_(s32) = G_FPEXT %7(s16)
# | ^
# | <stdin>:1774:30: note: with "FPEXT1" equal to "%31"
# | %31:_(s32) = G_FPEXT %7(s16)
# | ^
# | <stdin>:1777:2: note: possible intended match here
# | %32:_(s32) = G_FMAXNUM_IEEE %33, %34
# | ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\legalize-fmaxnum.mir:1013:13: error: SI-NEXT: expected string not found in input
# | ; SI-NEXT: [[FMAXNUM_IEEE:%[0-9]+]]:_(s32) = G_FMAXNUM_IEEE [[FPEXT]], [[FPEXT1]]
# | ^
# | <stdin>:2569:30: note: scanning from here
# | %16:_(s32) = G_FPEXT %1(s16)
# | ^
# | <stdin>:2569:30: note: with "FPEXT" equal to "%15"
# | %16:_(s32) = G_FPEXT %1(s16)
# | ^
# | <stdin>:2569:30: note: with "FPEXT1" equal to "%16"
# | %16:_(s32) = G_FPEXT %1(s16)
# | ^
# | <stdin>:2572:2: note: possible intended match here
# | %17:_(s32) = G_FMAXNUM_IEEE %18, %19
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\legalize-fmaxnum.mir
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 1034: %0:_(s32) = COPY $vgpr0
# | 1035: %1:_(s32) = COPY $vgpr1
# | 1036: %2:_(s16) = G_TRUNC %0(s32)
# | 1037: %3:_(s16) = G_TRUNC %1(s32)
# | 1038: %6:_(s32) = G_FPEXT %2(s16)
# | 1039: %7:_(s32) = G_FPEXT %3(s16)
# | next:294'0 X error: no match found
# | next:294'1 with "FPEXT" equal to "%6"
# | next:294'2 with "FPEXT1" equal to "%7"
# | 1040: %9:_(s32) = G_FCANONICALIZE %6
# | next:294'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1041: %10:_(s32) = G_FCANONICALIZE %7
# | next:294'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1042: %8:_(s32) = G_FMAXNUM_IEEE %9, %10
# | next:294'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:294'3 ? possible intended match
# | 1043: %4:_(s16) = G_FPTRUNC %8(s32)
# | next:294'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1044: %5:_(s32) = G_ANYEXT %4(s16)
# | next:294'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1045: $vgpr0 = COPY %5(s32)
# | next:294'0 ~~~~~~~~~~~~~~~~~~~~~~~
# | 1046: ...
# | next:294'0 ~~~~
# | 1047: ---
# | next:294'0 ~~~~
# | .
# | .
# | .
# | 1322: %22:_(s32) = G_BITCAST %1(<2 x s16>)
# | 1323: %5:_(s16) = G_TRUNC %22(s32)
# | 1324: %23:_(s32) = G_LSHR %22, %20(s32)
# | 1325: %6:_(s16) = G_TRUNC %23(s32)
# | 1326: %14:_(s32) = G_FPEXT %3(s16)
# | 1327: %15:_(s32) = G_FPEXT %5(s16)
# | next:414'0 X error: no match found
# | next:414'1 with "FPEXT" equal to "%14"
# | next:414'2 with "FPEXT1" equal to "%15"
# | 1328: %17:_(s32) = G_FCANONICALIZE %14
# | next:414'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1329: %18:_(s32) = G_FCANONICALIZE %15
# | next:414'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1330: %16:_(s32) = G_FMAXNUM_IEEE %17, %18
# | next:414'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:414'3 ? possible intended match
# | 1331: %7:_(s16) = G_FPTRUNC %16(s32)
# | next:414'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1332: %9:_(s32) = G_FPEXT %4(s16)
# | next:414'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1333: %10:_(s32) = G_FPEXT %6(s16)
# | next:414'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1334: %12:_(s32) = G_FCANONICALIZE %9
# | next:414'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1335: %13:_(s32) = G_FCANONICALIZE %10
# | next:414'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 1550: %75:_(s32) = G_LSHR %74, %70(s32)
# | 1551: %39:_(s16) = G_TRUNC %75(s32)
# | 1552: %76:_(s32) = G_BITCAST %64(<2 x s16>)
# | 1553: %40:_(s16) = G_TRUNC %76(s32)
# | 1554: %33:_(s32) = G_FPEXT %44(s16)
# | 1555: %34:_(s32) = G_FPEXT %38(s16)
# | next:496'0 X error: no match found
# | next:496'1 with "FPEXT" equal to "%33"
# | next:496'2 with "FPEXT1" equal to "%34"
# | 1556: %36:_(s32) = G_FCANONICALIZE %33
# | next:496'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1557: %37:_(s32) = G_FCANONICALIZE %34
# | next:496'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1558: %35:_(s32) = G_FMAXNUM_IEEE %36, %37
# | next:496'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1559: %20:_(s16) = G_FPTRUNC %35(s32)
# | next:496'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1560: %28:_(s32) = G_FPEXT %45(s16)
# | next:496'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1561: %29:_(s32) = G_FPEXT %39(s16)
# | next:496'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1562: %31:_(s32) = G_FCANONICALIZE %28
# | next:496'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1563: %32:_(s32) = G_FCANONICALIZE %29
# | next:496'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1564: %30:_(s32) = G_FMAXNUM_IEEE %31, %32
# | next:496'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:496'3 ? possible intended match
# | 1565: %21:_(s16) = G_FPTRUNC %30(s32)
# | next:496'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1566: %23:_(s32) = G_FPEXT %46(s16)
# | next:496'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1567: %24:_(s32) = G_FPEXT %40(s16)
# | next:496'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1568: %26:_(s32) = G_FCANONICALIZE %23
# | next:496'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1569: %27:_(s32) = G_FCANONICALIZE %24
# | next:496'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 1769: %48:_(s32) = G_BITCAST %38(<2 x s16>)
# | 1770: %9:_(s16) = G_TRUNC %48(s32)
# | 1771: %49:_(s32) = G_LSHR %48, %42(s32)
# | 1772: %10:_(s16) = G_TRUNC %49(s32)
# | 1773: %30:_(s32) = G_FPEXT %3(s16)
# | 1774: %31:_(s32) = G_FPEXT %7(s16)
# | next:634'0 X error: no match found
# | next:634'1 with "FPEXT" equal to "%30"
# | next:634'2 with "FPEXT1" equal to "%31"
# | 1775: %33:_(s32) = G_FCANONICALIZE %30
# | next:634'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1776: %34:_(s32) = G_FCANONICALIZE %31
# | next:634'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1777: %32:_(s32) = G_FMAXNUM_IEEE %33, %34
# | next:634'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:634'3 ? possible intended match
# | 1778: %11:_(s16) = G_FPTRUNC %32(s32)
# | next:634'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1779: %25:_(s32) = G_FPEXT %4(s16)
# | next:634'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1780: %26:_(s32) = G_FPEXT %8(s16)
# | next:634'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1781: %28:_(s32) = G_FCANONICALIZE %25
# | next:634'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1782: %29:_(s32) = G_FCANONICALIZE %26
# | next:634'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 2564: %4:_(s16) = G_TRUNC %20(s32)
# | 2565: %21:_(s32) = G_CONSTANT i32 16
# | 2566: %22:_(s32) = G_LSHR %20, %21(s32)
# | 2567: %5:_(s16) = G_TRUNC %22(s32)
# | 2568: %15:_(s32) = G_FPEXT %4(s16)
# | 2569: %16:_(s32) = G_FPEXT %1(s16)
# | next:1013'0 X error: no match found
# | next:1013'1 with "FPEXT" equal to "%15"
# | next:1013'2 with "FPEXT1" equal to "%16"
# | 2570: %18:_(s32) = G_FCANONICALIZE %15
# | next:1013'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 2571: %19:_(s32) = G_FCANONICALIZE %16
# | next:1013'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 2572: %17:_(s32) = G_FMAXNUM_IEEE %18, %19
# | next:1013'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:1013'3 ? possible intended match
# | 2573: %8:_(s16) = G_FPTRUNC %17(s32)
# | next:1013'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 2574: %10:_(s32) = G_FPEXT %5(s16)
# | next:1013'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 2575: %11:_(s32) = G_FPEXT %1(s16)
# | next:1013'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 2576: %13:_(s32) = G_FCANONICALIZE %10
# | next:1013'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 2577: %14:_(s32) = G_FCANONICALIZE %11
# | next:1013'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>LLVM.CodeGen/AMDGPU/GlobalISel/legalize-fminnum.mir</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -mtriple=amdgcn-mesa-mesa3d -mcpu=tahiti -run-pass=legalizer C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\legalize-fminnum.mir -o - | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe -check-prefix=SI C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\legalize-fminnum.mir
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -mtriple=amdgcn-mesa-mesa3d -mcpu=tahiti -run-pass=legalizer 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\legalize-fminnum.mir' -o -
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' -check-prefix=SI 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\legalize-fminnum.mir'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\legalize-fminnum.mir:294:13: error: SI-NEXT: expected string not found in input
# | ; SI-NEXT: [[FMINNUM_IEEE:%[0-9]+]]:_(s32) = G_FMINNUM_IEEE [[FPEXT]], [[FPEXT1]]
# | ^
# | <stdin>:1039:29: note: scanning from here
# | %7:_(s32) = G_FPEXT %3(s16)
# | ^
# | <stdin>:1039:29: note: with "FPEXT" equal to "%6"
# | %7:_(s32) = G_FPEXT %3(s16)
# | ^
# | <stdin>:1039:29: note: with "FPEXT1" equal to "%7"
# | %7:_(s32) = G_FPEXT %3(s16)
# | ^
# | <stdin>:1042:2: note: possible intended match here
# | %8:_(s32) = G_FMINNUM_IEEE %9, %10
# | ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\legalize-fminnum.mir:414:13: error: SI-NEXT: expected string not found in input
# | ; SI-NEXT: [[FMINNUM_IEEE:%[0-9]+]]:_(s32) = G_FMINNUM_IEEE [[FPEXT]], [[FPEXT1]]
# | ^
# | <stdin>:1327:30: note: scanning from here
# | %15:_(s32) = G_FPEXT %5(s16)
# | ^
# | <stdin>:1327:30: note: with "FPEXT" equal to "%14"
# | %15:_(s32) = G_FPEXT %5(s16)
# | ^
# | <stdin>:1327:30: note: with "FPEXT1" equal to "%15"
# | %15:_(s32) = G_FPEXT %5(s16)
# | ^
# | <stdin>:1330:2: note: possible intended match here
# | %16:_(s32) = G_FMINNUM_IEEE %17, %18
# | ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\legalize-fminnum.mir:496:13: error: SI-NEXT: expected string not found in input
# | ; SI-NEXT: [[FMINNUM_IEEE:%[0-9]+]]:_(s32) = G_FMINNUM_IEEE [[FPEXT]], [[FPEXT1]]
# | ^
# | <stdin>:1555:31: note: scanning from here
# | %34:_(s32) = G_FPEXT %38(s16)
# | ^
# | <stdin>:1555:31: note: with "FPEXT" equal to "%33"
# | %34:_(s32) = G_FPEXT %38(s16)
# | ^
# | <stdin>:1555:31: note: with "FPEXT1" equal to "%34"
# | %34:_(s32) = G_FPEXT %38(s16)
# | ^
# | <stdin>:1564:2: note: possible intended match here
# | %30:_(s32) = G_FMINNUM_IEEE %31, %32
# | ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\legalize-fminnum.mir:634:13: error: SI-NEXT: expected string not found in input
# | ; SI-NEXT: [[FMINNUM_IEEE:%[0-9]+]]:_(s32) = G_FMINNUM_IEEE [[FPEXT]], [[FPEXT1]]
# | ^
# | <stdin>:1774:30: note: scanning from here
# | %31:_(s32) = G_FPEXT %7(s16)
# | ^
# | <stdin>:1774:30: note: with "FPEXT" equal to "%30"
# | %31:_(s32) = G_FPEXT %7(s16)
# | ^
# | <stdin>:1774:30: note: with "FPEXT1" equal to "%31"
# | %31:_(s32) = G_FPEXT %7(s16)
# | ^
# | <stdin>:1777:2: note: possible intended match here
# | %32:_(s32) = G_FMINNUM_IEEE %33, %34
# | ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\legalize-fminnum.mir:1013:13: error: SI-NEXT: expected string not found in input
# | ; SI-NEXT: [[FMINNUM_IEEE:%[0-9]+]]:_(s32) = G_FMINNUM_IEEE [[FPEXT]], [[FPEXT1]]
# | ^
# | <stdin>:2569:30: note: scanning from here
# | %16:_(s32) = G_FPEXT %1(s16)
# | ^
# | <stdin>:2569:30: note: with "FPEXT" equal to "%15"
# | %16:_(s32) = G_FPEXT %1(s16)
# | ^
# | <stdin>:2569:30: note: with "FPEXT1" equal to "%16"
# | %16:_(s32) = G_FPEXT %1(s16)
# | ^
# | <stdin>:2572:2: note: possible intended match here
# | %17:_(s32) = G_FMINNUM_IEEE %18, %19
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\legalize-fminnum.mir
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 1034: %0:_(s32) = COPY $vgpr0
# | 1035: %1:_(s32) = COPY $vgpr1
# | 1036: %2:_(s16) = G_TRUNC %0(s32)
# | 1037: %3:_(s16) = G_TRUNC %1(s32)
# | 1038: %6:_(s32) = G_FPEXT %2(s16)
# | 1039: %7:_(s32) = G_FPEXT %3(s16)
# | next:294'0 X error: no match found
# | next:294'1 with "FPEXT" equal to "%6"
# | next:294'2 with "FPEXT1" equal to "%7"
# | 1040: %9:_(s32) = G_FCANONICALIZE %6
# | next:294'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1041: %10:_(s32) = G_FCANONICALIZE %7
# | next:294'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1042: %8:_(s32) = G_FMINNUM_IEEE %9, %10
# | next:294'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:294'3 ? possible intended match
# | 1043: %4:_(s16) = G_FPTRUNC %8(s32)
# | next:294'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1044: %5:_(s32) = G_ANYEXT %4(s16)
# | next:294'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1045: $vgpr0 = COPY %5(s32)
# | next:294'0 ~~~~~~~~~~~~~~~~~~~~~~~
# | 1046: ...
# | next:294'0 ~~~~
# | 1047: ---
# | next:294'0 ~~~~
# | .
# | .
# | .
# | 1322: %22:_(s32) = G_BITCAST %1(<2 x s16>)
# | 1323: %5:_(s16) = G_TRUNC %22(s32)
# | 1324: %23:_(s32) = G_LSHR %22, %20(s32)
# | 1325: %6:_(s16) = G_TRUNC %23(s32)
# | 1326: %14:_(s32) = G_FPEXT %3(s16)
# | 1327: %15:_(s32) = G_FPEXT %5(s16)
# | next:414'0 X error: no match found
# | next:414'1 with "FPEXT" equal to "%14"
# | next:414'2 with "FPEXT1" equal to "%15"
# | 1328: %17:_(s32) = G_FCANONICALIZE %14
# | next:414'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1329: %18:_(s32) = G_FCANONICALIZE %15
# | next:414'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1330: %16:_(s32) = G_FMINNUM_IEEE %17, %18
# | next:414'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:414'3 ? possible intended match
# | 1331: %7:_(s16) = G_FPTRUNC %16(s32)
# | next:414'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1332: %9:_(s32) = G_FPEXT %4(s16)
# | next:414'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1333: %10:_(s32) = G_FPEXT %6(s16)
# | next:414'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1334: %12:_(s32) = G_FCANONICALIZE %9
# | next:414'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1335: %13:_(s32) = G_FCANONICALIZE %10
# | next:414'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 1550: %75:_(s32) = G_LSHR %74, %70(s32)
# | 1551: %39:_(s16) = G_TRUNC %75(s32)
# | 1552: %76:_(s32) = G_BITCAST %64(<2 x s16>)
# | 1553: %40:_(s16) = G_TRUNC %76(s32)
# | 1554: %33:_(s32) = G_FPEXT %44(s16)
# | 1555: %34:_(s32) = G_FPEXT %38(s16)
# | next:496'0 X error: no match found
# | next:496'1 with "FPEXT" equal to "%33"
# | next:496'2 with "FPEXT1" equal to "%34"
# | 1556: %36:_(s32) = G_FCANONICALIZE %33
# | next:496'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1557: %37:_(s32) = G_FCANONICALIZE %34
# | next:496'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1558: %35:_(s32) = G_FMINNUM_IEEE %36, %37
# | next:496'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1559: %20:_(s16) = G_FPTRUNC %35(s32)
# | next:496'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1560: %28:_(s32) = G_FPEXT %45(s16)
# | next:496'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1561: %29:_(s32) = G_FPEXT %39(s16)
# | next:496'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1562: %31:_(s32) = G_FCANONICALIZE %28
# | next:496'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1563: %32:_(s32) = G_FCANONICALIZE %29
# | next:496'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1564: %30:_(s32) = G_FMINNUM_IEEE %31, %32
# | next:496'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:496'3 ? possible intended match
# | 1565: %21:_(s16) = G_FPTRUNC %30(s32)
# | next:496'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1566: %23:_(s32) = G_FPEXT %46(s16)
# | next:496'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1567: %24:_(s32) = G_FPEXT %40(s16)
# | next:496'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1568: %26:_(s32) = G_FCANONICALIZE %23
# | next:496'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1569: %27:_(s32) = G_FCANONICALIZE %24
# | next:496'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 1769: %48:_(s32) = G_BITCAST %38(<2 x s16>)
# | 1770: %9:_(s16) = G_TRUNC %48(s32)
# | 1771: %49:_(s32) = G_LSHR %48, %42(s32)
# | 1772: %10:_(s16) = G_TRUNC %49(s32)
# | 1773: %30:_(s32) = G_FPEXT %3(s16)
# | 1774: %31:_(s32) = G_FPEXT %7(s16)
# | next:634'0 X error: no match found
# | next:634'1 with "FPEXT" equal to "%30"
# | next:634'2 with "FPEXT1" equal to "%31"
# | 1775: %33:_(s32) = G_FCANONICALIZE %30
# | next:634'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1776: %34:_(s32) = G_FCANONICALIZE %31
# | next:634'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1777: %32:_(s32) = G_FMINNUM_IEEE %33, %34
# | next:634'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:634'3 ? possible intended match
# | 1778: %11:_(s16) = G_FPTRUNC %32(s32)
# | next:634'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1779: %25:_(s32) = G_FPEXT %4(s16)
# | next:634'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1780: %26:_(s32) = G_FPEXT %8(s16)
# | next:634'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1781: %28:_(s32) = G_FCANONICALIZE %25
# | next:634'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1782: %29:_(s32) = G_FCANONICALIZE %26
# | next:634'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 2564: %4:_(s16) = G_TRUNC %20(s32)
# | 2565: %21:_(s32) = G_CONSTANT i32 16
# | 2566: %22:_(s32) = G_LSHR %20, %21(s32)
# | 2567: %5:_(s16) = G_TRUNC %22(s32)
# | 2568: %15:_(s32) = G_FPEXT %4(s16)
# | 2569: %16:_(s32) = G_FPEXT %1(s16)
# | next:1013'0 X error: no match found
# | next:1013'1 with "FPEXT" equal to "%15"
# | next:1013'2 with "FPEXT1" equal to "%16"
# | 2570: %18:_(s32) = G_FCANONICALIZE %15
# | next:1013'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 2571: %19:_(s32) = G_FCANONICALIZE %16
# | next:1013'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 2572: %17:_(s32) = G_FMINNUM_IEEE %18, %19
# | next:1013'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:1013'3 ? possible intended match
# | 2573: %8:_(s16) = G_FPTRUNC %17(s32)
# | next:1013'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 2574: %10:_(s32) = G_FPEXT %5(s16)
# | next:1013'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 2575: %11:_(s32) = G_FPEXT %1(s16)
# | next:1013'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 2576: %13:_(s32) = G_FCANONICALIZE %10
# | next:1013'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 2577: %14:_(s32) = G_FCANONICALIZE %11
# | next:1013'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>LLVM.CodeGen/AMDGPU/GlobalISel/legalize-vector-args-gfx7.mir</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -mtriple=amdgcn-mesa-mesa3d -mcpu=hawaii -run-pass=legalizer -verify-machineinstrs -o - C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\legalize-vector-args-gfx7.mir | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe -check-prefix=GFX7 C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\legalize-vector-args-gfx7.mir
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -mtriple=amdgcn-mesa-mesa3d -mcpu=hawaii -run-pass=legalizer -verify-machineinstrs -o - 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\legalize-vector-args-gfx7.mir'
# note: command had no output on stdout or stderr
# 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\legalize-vector-args-gfx7.mir'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\legalize-vector-args-gfx7.mir:293:15: error: GFX7-NEXT: expected string not found in input
# | ; GFX7-NEXT: [[FMAXNUM_IEEE:%[0-9]+]]:_(s32) = G_FMAXNUM_IEEE [[FPEXT]], [[FPEXT1]]
# | ^
# | <stdin>:897:31: note: scanning from here
# | %61:_(s32) = G_FPEXT %30(s16)
# | ^
# | <stdin>:897:31: note: with "FPEXT" equal to "%60"
# | %61:_(s32) = G_FPEXT %30(s16)
# | ^
# | <stdin>:897:31: note: with "FPEXT1" equal to "%61"
# | %61:_(s32) = G_FPEXT %30(s16)
# | ^
# | <stdin>:900:2: note: possible intended match here
# | %62:_(s32) = G_FMAXNUM_IEEE %63, %64
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\legalize-vector-args-gfx7.mir
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 892: %31:_(s16) = G_TRUNC %8(s32)
# | 893: %32:_(s16) = G_TRUNC %9(s32)
# | 894: %33:_(s16) = G_TRUNC %10(s32)
# | 895: %34:_(s16) = G_TRUNC %11(s32)
# | 896: %60:_(s32) = G_FPEXT %25(s16)
# | 897: %61:_(s32) = G_FPEXT %30(s16)
# | next:293'0 X error: no match found
# | next:293'1 with "FPEXT" equal to "%60"
# | next:293'2 with "FPEXT1" equal to "%61"
# | 898: %63:_(s32) = G_FCANONICALIZE %60
# | next:293'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 899: %64:_(s32) = G_FCANONICALIZE %61
# | next:293'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 900: %62:_(s32) = G_FMAXNUM_IEEE %63, %64
# | next:293'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:293'3 ? possible intended match
# | 901: %35:_(s16) = G_FPTRUNC %62(s32)
# | next:293'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 902: %55:_(s32) = G_FPEXT %26(s16)
# | next:293'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 903: %56:_(s32) = G_FPEXT %31(s16)
# | next:293'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 904: %58:_(s32) = G_FCANONICALIZE %55
# | next:293'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 905: %59:_(s32) = G_FCANONICALIZE %56
# | next:293'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>LLVM.CodeGen/AMDGPU/GlobalISel/regbankcombiner-clamp-fmed3-const.mir</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -mtriple=amdgcn-amd-mesa3d -mcpu=gfx1010 -run-pass=amdgpu-regbank-combiner -verify-machineinstrs C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\regbankcombiner-clamp-fmed3-const.mir -o - | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\regbankcombiner-clamp-fmed3-const.mir
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -mtriple=amdgcn-amd-mesa3d -mcpu=gfx1010 -run-pass=amdgpu-regbank-combiner -verify-machineinstrs 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\regbankcombiner-clamp-fmed3-const.mir' -o -
# 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\GlobalISel\regbankcombiner-clamp-fmed3-const.mir'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\regbankcombiner-clamp-fmed3-const.mir:310:16: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: [[AMDGPU_CLAMP:%[0-9]+]]:vgpr(s32) = G_AMDGPU_CLAMP [[FMUL]]
# | ^
# | <stdin>:917:30: note: scanning from here
# | %3:vgpr(s32) = G_FMUL %0, %2
# | ^
# | <stdin>:917:30: note: with "FMUL" equal to "%3"
# | %3:vgpr(s32) = G_FMUL %0, %2
# | ^
# | <stdin>:922:2: note: possible intended match here
# | %8:vgpr(s32) = G_AMDGPU_FMED3 %3, %6, %7
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\regbankcombiner-clamp-fmed3-const.mir
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 912: liveins: $vgpr0
# | 913:
# | 914: %0:vgpr(s32) = COPY $vgpr0
# | 915: %1:sgpr(s32) = G_FCONSTANT float 2.000000e+00
# | 916: %2:vgpr(s32) = COPY %1(s32)
# | 917: %3:vgpr(s32) = G_FMUL %0, %2
# | next:310'0 X error: no match found
# | next:310'1 with "FMUL" equal to "%3"
# | 918: %4:sgpr(s32) = G_FCONSTANT float 1.000000e+00
# | next:310'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 919: %5:sgpr(s32) = G_FCONSTANT float 0.000000e+00
# | next:310'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 920: %6:vgpr(s32) = COPY %5(s32)
# | next:310'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 921: %7:vgpr(s32) = COPY %4(s32)
# | next:310'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 922: %8:vgpr(s32) = G_AMDGPU_FMED3 %3, %6, %7
# | next:310'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:310'2 ? possible intended match
# | 923: $vgpr0 = COPY %8(s32)
# | next:310'0 ~~~~~~~~~~~~~~~~~~~~~~~
# | 924: ...
# | next:310'0 ~~~~
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>LLVM.CodeGen/AMDGPU/GlobalISel/regbankcombiner-clamp-minmax-const.mir</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -mtriple=amdgcn-amd-mesa3d -mcpu=gfx1010 -run-pass=amdgpu-regbank-combiner -verify-machineinstrs C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\regbankcombiner-clamp-minmax-const.mir -o - | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\regbankcombiner-clamp-minmax-const.mir
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -mtriple=amdgcn-amd-mesa3d -mcpu=gfx1010 -run-pass=amdgpu-regbank-combiner -verify-machineinstrs 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\regbankcombiner-clamp-minmax-const.mir' -o -
# 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\GlobalISel\regbankcombiner-clamp-minmax-const.mir'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\regbankcombiner-clamp-minmax-const.mir:479:16: error: CHECK-NEXT: is not on the line after the previous match
# | ; CHECK-NEXT: [[FCANONICALIZE:%[0-9]+]]:vgpr(s32) = G_FCANONICALIZE [[FMUL]]
# | ^
# | <stdin>:1731:2: note: 'next' match was here
# | %5:vgpr(s32) = G_FCANONICALIZE %3
# | ^
# | <stdin>:1729:30: note: previous match ended here
# | %3:vgpr(s32) = G_FMUL %0, %2
# | ^
# | <stdin>:1730:1: note: non-matching line after previous match is here
# | %4:sgpr(s32) = G_FCONSTANT float 0.000000e+00
# | ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\regbankcombiner-clamp-minmax-const.mir:516:16: error: CHECK-NEXT: is not on the line after the previous match
# | ; CHECK-NEXT: [[FCANONICALIZE:%[0-9]+]]:vgpr(s32) = G_FCANONICALIZE [[FMUL]]
# | ^
# | <stdin>:1861:2: note: 'next' match was here
# | %5:vgpr(s32) = G_FCANONICALIZE %3
# | ^
# | <stdin>:1859:30: note: previous match ended here
# | %3:vgpr(s32) = G_FMUL %0, %2
# | ^
# | <stdin>:1860:1: note: non-matching line after previous match is here
# | %4:sgpr(s32) = G_FCONSTANT float 1.000000e+00
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\regbankcombiner-clamp-minmax-const.mir
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 1726: %0:vgpr(s32) = COPY $vgpr0
# | 1727: %1:sgpr(s32) = G_FCONSTANT float 2.000000e+00
# | 1728: %2:vgpr(s32) = COPY %1(s32)
# | 1729: %3:vgpr(s32) = G_FMUL %0, %2
# | 1730: %4:sgpr(s32) = G_FCONSTANT float 0.000000e+00
# | 1731: %5:vgpr(s32) = G_FCANONICALIZE %3
# | next:479 !~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: match on wrong line
# | 1732: %6:vgpr(s32) = COPY %4(s32)
# | 1733: %8:sgpr(s32) = G_FCONSTANT float 1.000000e+00
# | 1734: %9:vgpr(s32) = COPY %8(s32)
# | 1735: %10:vgpr(s32) = G_AMDGPU_FMED3 %5, %6, %9
# | 1736: $vgpr0 = COPY %10(s32)
# | .
# | .
# | .
# | 1856: %0:vgpr(s32) = COPY $vgpr0
# | 1857: %1:sgpr(s32) = G_FCONSTANT float 2.000000e+00
# | 1858: %2:vgpr(s32) = COPY %1(s32)
# | 1859: %3:vgpr(s32) = G_FMUL %0, %2
# | 1860: %4:sgpr(s32) = G_FCONSTANT float 1.000000e+00
# | 1861: %5:vgpr(s32) = G_FCANONICALIZE %3
# | next:516 !~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: match on wrong line
# | 1862: %6:vgpr(s32) = COPY %4(s32)
# | 1863: %7:vgpr(s32) = G_FMINNUM_IEEE %5, %6
# | 1864: %8:sgpr(s32) = G_FCONSTANT float 0.000000e+00
# | 1865: %9:vgpr(s32) = COPY %8(s32)
# | 1866: %10:vgpr(s32) = G_FMAXNUM_IEEE %7, %9
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>LLVM.CodeGen/AMDGPU/GlobalISel/regbankcombiner-fmed3-minmax-const.mir</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -mtriple=amdgcn-amd-mesa3d -mcpu=gfx1010 -run-pass=amdgpu-regbank-combiner -verify-machineinstrs C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\regbankcombiner-fmed3-minmax-const.mir -o - | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\regbankcombiner-fmed3-minmax-const.mir
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -mtriple=amdgcn-amd-mesa3d -mcpu=gfx1010 -run-pass=amdgpu-regbank-combiner -verify-machineinstrs 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\regbankcombiner-fmed3-minmax-const.mir' -o -
# 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\GlobalISel\regbankcombiner-fmed3-minmax-const.mir'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\regbankcombiner-fmed3-minmax-const.mir:537:16: error: CHECK-NEXT: is not on the line after the previous match
# | ; CHECK-NEXT: [[C1:%[0-9]+]]:sgpr(s32) = G_FCONSTANT float 2.000000e+00
# | ^
# | <stdin>:2070:2: note: 'next' match was here
# | %5:sgpr(s32) = G_FCONSTANT float 2.000000e+00
# | ^
# | <stdin>:2068:29: note: previous match ended here
# | %3:vgpr(s32) = COPY %1(s32)
# | ^
# | <stdin>:2069:1: note: non-matching line after previous match is here
# | %4:vgpr(s32) = G_FMINNUM_IEEE %2, %3
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\regbankcombiner-fmed3-minmax-const.mir
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 2065: %0:vgpr(s32) = COPY $vgpr0
# | 2066: %1:sgpr(s32) = G_FCONSTANT float 4.000000e+00
# | 2067: %2:vgpr(s32) = G_FCANONICALIZE %0
# | 2068: %3:vgpr(s32) = COPY %1(s32)
# | 2069: %4:vgpr(s32) = G_FMINNUM_IEEE %2, %3
# | 2070: %5:sgpr(s32) = G_FCONSTANT float 2.000000e+00
# | next:537 !~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: match on wrong line
# | 2071: %6:vgpr(s32) = COPY %5(s32)
# | 2072: %7:vgpr(s32) = G_FMAXNUM_IEEE %4, %6
# | 2073: $vgpr0 = COPY %7(s32)
# | 2074: ...
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>LLVM.CodeGen/AMDGPU/fmed3.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -mtriple=amdgcn -global-isel=0 < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\fmed3.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe -enable-var-scope -check-prefixes=SI,SI-SDAG C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\fmed3.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -mtriple=amdgcn -global-isel=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=SI,SI-SDAG 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\fmed3.ll'
# note: command had no output on stdout or stderr
# RUN: at line 3
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -mtriple=amdgcn -global-isel=1 -new-reg-bank-select < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\fmed3.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe -enable-var-scope -check-prefixes=SI,SI-GISEL C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\fmed3.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -mtriple=amdgcn -global-isel=1 -new-reg-bank-select
# 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=SI,SI-GISEL 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\fmed3.ll'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\fmed3.ll:6403:18: error: SI-GISEL-NEXT: expected string not found in input
# | ; SI-GISEL-NEXT: v_med3_f32 v2, v2, v3, v4
# | ^
# | <stdin>:2924:27: note: scanning from here
# | v_add_f32_e32 v4, 4.0, v4
# | ^
# | <stdin>:2927:2: note: possible intended match here
# | v_min_f32_e32 v2, v2, v4
# | ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\fmed3.ll:6578:18: error: SI-GISEL-NEXT: expected string not found in input
# | ; SI-GISEL-NEXT: v_med3_f32 v2, v2, v3, v4
# | ^
# | <stdin>:3002:27: note: scanning from here
# | v_add_f32_e32 v4, 4.0, v4
# | ^
# | <stdin>:3005:2: note: possible intended match here
# | v_min_f32_e32 v2, v2, v4
# | ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\fmed3.ll:6753:18: error: SI-GISEL-NEXT: expected string not found in input
# | ; SI-GISEL-NEXT: v_med3_f32 v2, v2, v3, v4
# | ^
# | <stdin>:3080:27: note: scanning from here
# | v_add_f32_e32 v4, 4.0, v4
# | ^
# | <stdin>:3083:2: note: possible intended match here
# | v_min_f32_e32 v2, v2, v4
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\fmed3.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 2919: s_mov_b64 s[8:9], s[6:7]
# | 2920: buffer_load_dword v4, v[0:1], s[8:11], 0 addr64 glc
# | 2921: s_waitcnt vmcnt(0)
# | 2922: v_add_f32_e32 v2, 1.0, v2
# | 2923: v_add_f32_e32 v3, 2.0, v3
# | 2924: v_add_f32_e32 v4, 4.0, v4
# | next:6403'0 X error: no match found
# | 2925: v_min_f32_e32 v5, v2, v3
# | next:6403'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 2926: v_max_f32_e32 v2, v2, v3
# | next:6403'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 2927: v_min_f32_e32 v2, v2, v4
# | next:6403'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:6403'1 ? possible intended match
# | 2928: v_max_f32_e32 v2, v5, v2
# | next:6403'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 2929: s_mov_b64 s[2:3], s[10:11]
# | next:6403'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 2930: buffer_store_dword v2, v[0:1], s[0:3], 0 addr64
# | next:6403'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 2931: s_endpgm
# | next:6403'0 ~~~~~~~~~~
# | 2932: .Lfunc_end40:
# | next:6403'0 ~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 2997: s_mov_b64 s[8:9], s[6:7]
# | 2998: buffer_load_dword v4, v[0:1], s[8:11], 0 addr64 glc
# | 2999: s_waitcnt vmcnt(0)
# | 3000: v_add_f32_e32 v2, 1.0, v2
# | 3001: v_add_f32_e32 v3, 2.0, v3
# | 3002: v_add_f32_e32 v4, 4.0, v4
# | next:6578'0 X error: no match found
# | 3003: v_min_f32_e32 v5, v2, v3
# | next:6578'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 3004: v_max_f32_e32 v2, v2, v3
# | next:6578'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 3005: v_min_f32_e32 v2, v2, v4
# | next:6578'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:6578'1 ? possible intended match
# | 3006: v_max_f32_e32 v2, v5, v2
# | next:6578'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 3007: s_mov_b64 s[2:3], s[10:11]
# | next:6578'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 3008: buffer_store_dword v2, v[0:1], s[0:3], 0 addr64
# | next:6578'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 3009: s_endpgm
# | next:6578'0 ~~~~~~~~~~
# | 3010: .Lfunc_end41:
# | next:6578'0 ~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 3075: s_mov_b64 s[8:9], s[6:7]
# | 3076: buffer_load_dword v4, v[0:1], s[8:11], 0 addr64 glc
# | 3077: s_waitcnt vmcnt(0)
# | 3078: v_add_f32_e32 v2, 1.0, v2
# | 3079: v_add_f32_e32 v3, 2.0, v3
# | 3080: v_add_f32_e32 v4, 4.0, v4
# | next:6753'0 X error: no match found
# | 3081: v_min_f32_e32 v5, v2, v3
# | next:6753'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 3082: v_max_f32_e32 v2, v2, v3
# | next:6753'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 3083: v_min_f32_e32 v2, v2, v4
# | next:6753'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:6753'1 ? possible intended match
# | 3084: v_max_f32_e32 v2, v5, v2
# | next:6753'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 3085: s_mov_b64 s[2:3], s[10:11]
# | next:6753'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 3086: buffer_store_dword v2, v[0:1], s[0:3], 0 addr64
# | next:6753'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 3087: s_endpgm
# | next:6753'0 ~~~~~~~~~~
# | 3088: .Lfunc_end42:
# | next:6753'0 ~~~~~~~~~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>LLVM.CodeGen/AMDGPU/mad-mix-hi.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=gfx1100 -mattr=+real-true16 < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\mad-mix-hi.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe -check-prefixes=GFX11,SDAG-GFX11,SDAG-GFX11-TRUE16 C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\mad-mix-hi.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -mtriple=amdgcn -mcpu=gfx1100 -mattr=+real-true16
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' -check-prefixes=GFX11,SDAG-GFX11,SDAG-GFX11-TRUE16 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\mad-mix-hi.ll'
# note: command had no output on stdout or stderr
# RUN: at line 3
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -mtriple=amdgcn -mcpu=gfx1100 -mattr=-real-true16 < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\mad-mix-hi.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe -check-prefixes=GFX11,SDAG-GFX11,SDAG-GFX11-FAKE16 C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\mad-mix-hi.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -mtriple=amdgcn -mcpu=gfx1100 -mattr=-real-true16
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' -check-prefixes=GFX11,SDAG-GFX11,SDAG-GFX11-FAKE16 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\mad-mix-hi.ll'
# note: command had no output on stdout or stderr
# RUN: at line 4
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -mtriple=amdgcn -mcpu=gfx900 < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\mad-mix-hi.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe -check-prefixes=GFX9,SDAG-GFX9 C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\mad-mix-hi.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -mtriple=amdgcn -mcpu=gfx900
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' -check-prefixes=GFX9,SDAG-GFX9 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\mad-mix-hi.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=fiji < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\mad-mix-hi.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe -check-prefixes=VI,SDAG-VI C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\mad-mix-hi.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -mtriple=amdgcn -mcpu=fiji
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' -check-prefixes=VI,SDAG-VI 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\mad-mix-hi.ll'
# note: command had no output on stdout or stderr
# RUN: at line 6
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -mtriple=amdgcn -mcpu=hawaii < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\mad-mix-hi.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe -check-prefixes=SDAG-CI C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\mad-mix-hi.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -mtriple=amdgcn -mcpu=hawaii
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' -check-prefixes=SDAG-CI 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\mad-mix-hi.ll'
# note: command had no output on stdout or stderr
# RUN: at line 10
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -global-isel -new-reg-bank-select -mtriple=amdgcn -mcpu=gfx1100 -mattr=-real-true16 < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\mad-mix-hi.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe -check-prefixes=GFX11,GISEL-GFX11,GISEL-GFX11-FAKE16 C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\mad-mix-hi.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -global-isel -new-reg-bank-select -mtriple=amdgcn -mcpu=gfx1100 -mattr=-real-true16
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' -check-prefixes=GFX11,GISEL-GFX11,GISEL-GFX11-FAKE16 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\mad-mix-hi.ll'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\mad-mix-hi.ll:448:21: error: GISEL-GFX11-NEXT: expected string not found in input
# | ; GISEL-GFX11-NEXT: v_fma_mix_f32 v0, v0, v1, v2 op_sel_hi:[1,1,1] clamp
# | ^
# | <stdin>:229:41: note: scanning from here
# | s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
# | ^
# | <stdin>:230:2: note: possible intended match here
# | v_fma_mix_f32 v0, v0, v1, v2 op_sel_hi:[1,1,1]
# | ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\mad-mix-hi.ll:490:15: error: GFX11-NEXT: expected string not found in input
# | ; GFX11-NEXT: v_fma_mixhi_f16 v0, v0, v1, v2 op_sel_hi:[1,1,1] clamp
# | ^
# | <stdin>:275:41: note: scanning from here
# | s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
# | ^
# | <stdin>:276:2: note: possible intended match here
# | v_fma_mixlo_f16 v0, v0, v1, v2 op_sel_hi:[1,1,1]
# | ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\mad-mix-hi.ll:620:21: error: GISEL-GFX11-NEXT: expected string not found in input
# | ; GISEL-GFX11-NEXT: v_fma_mixlo_f16 v3, v0, v1, v2 op_sel_hi:[1,1,1]
# | ^
# | <stdin>:319:41: note: scanning from here
# | s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
# | ^
# | <stdin>:320:2: note: possible intended match here
# | v_fma_mixlo_f16 v1, v0, v1, v2 op_sel_hi:[1,1,1]
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\mad-mix-hi.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 224: .globl v_mad_mixhi_f16_f16lo_f16lo_f16lo_undeflo_clamp_precvt ; -- Begin function v_mad_mixhi_f16_f16lo_f16lo_f16lo_undeflo_clamp_precvt
# | 225: .p2align 7
# | 226: .type v_mad_mixhi_f16_f16lo_f16lo_f16lo_undeflo_clamp_precvt, at function
# | 227: v_mad_mixhi_f16_f16lo_f16lo_f16lo_undeflo_clamp_precvt: ; @v_mad_mixhi_f16_f16lo_f16lo_f16lo_undeflo_clamp_precvt
# | 228: ; %bb.0:
# | 229: s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
# | next:448'0 X error: no match found
# | 230: v_fma_mix_f32 v0, v0, v1, v2 op_sel_hi:[1,1,1]
# | next:448'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:448'1 ? possible intended match
# | 231: v_and_b32_e64 v1, 0xffff, s0
# | next:448'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 232: s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
# | next:448'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 233: v_med3_f32 v0, v0, 0, 1.0
# | next:448'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 234: v_cvt_f16_f32_e32 v0, v0
# | next:448'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 235: s_delay_alu instid0(VALU_DEP_1)
# | next:448'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 270: .globl v_mad_mixhi_f16_f16lo_f16lo_f16lo_undeflo_clamp_postcvt ; -- Begin function v_mad_mixhi_f16_f16lo_f16lo_f16lo_undeflo_clamp_postcvt
# | next:448'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 271: .p2align 7
# | next:448'0 ~~~~~~~~~~~~
# | 272: .type v_mad_mixhi_f16_f16lo_f16lo_f16lo_undeflo_clamp_postcvt, at function
# | next:448'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 273: v_mad_mixhi_f16_f16lo_f16lo_f16lo_undeflo_clamp_postcvt: ; @v_mad_mixhi_f16_f16lo_f16lo_f16lo_undeflo_clamp_postcvt
# | next:448'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 274: ; %bb.0:
# | 275: s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
# | next:490'0 X error: no match found
# | 276: v_fma_mixlo_f16 v0, v0, v1, v2 op_sel_hi:[1,1,1]
# | next:490'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:490'1 ? possible intended match
# | 277: v_and_b32_e64 v1, 0xffff, s0
# | next:490'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 278: s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
# | next:490'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 279: v_med3_f16 v0, v0, 0, 1.0
# | next:490'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 280: v_lshl_or_b32 v0, v0, 16, v1
# | next:490'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 281: s_setpc_b64 s[30:31]
# | next:490'0 ~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 314: .globl v_mad_mixhi_f16_f16lo_f16lo_f16lo_undeflo_clamp_postcvt_multi_use ; -- Begin function v_mad_mixhi_f16_f16lo_f16lo_f16lo_undeflo_clamp_postcvt_multi_use
# | next:490'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 315: .p2align 7
# | next:490'0 ~~~~~~~~~~~~
# | 316: .type v_mad_mixhi_f16_f16lo_f16lo_f16lo_undeflo_clamp_postcvt_multi_use, at function
# | next:490'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 317: v_mad_mixhi_f16_f16lo_f16lo_f16lo_undeflo_clamp_postcvt_multi_use: ; @v_mad_mixhi_f16_f16lo_f16lo_f16lo_undeflo_clamp_postcvt_multi_use
# | next:490'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 318: ; %bb.0:
# | 319: s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
# | next:620'0 X error: no match found
# | 320: v_fma_mixlo_f16 v1, v0, v1, v2 op_sel_hi:[1,1,1]
# | next:620'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:620'1 ? possible intended match
# | 321: v_and_b32_e64 v2, 0xffff, s0
# | next:620'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 322: s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
# | next:620'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 323: v_med3_f16 v0, v1, 0, 1.0
# | next:620'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 324: v_lshl_or_b32 v0, v0, 16, v2
# | next:620'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 325: global_store_b16 v[0:1], v1, off dlc
# | next:620'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>LLVM.CodeGen/AMDGPU/mad-mix-lo.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=gfx1100 -mattr=+real-true16 < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\mad-mix-lo.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe -check-prefixes=GFX1100,SDAG-GFX1100-TRUE16 C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\mad-mix-lo.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -mtriple=amdgcn -mcpu=gfx1100 -mattr=+real-true16
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' -check-prefixes=GFX1100,SDAG-GFX1100-TRUE16 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\mad-mix-lo.ll'
# note: command had no output on stdout or stderr
# RUN: at line 3
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -mtriple=amdgcn -mcpu=gfx1100 -mattr=-real-true16 < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\mad-mix-lo.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe -check-prefixes=GFX1100,SDAG-GFX1100-FAKE16 C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\mad-mix-lo.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -mtriple=amdgcn -mcpu=gfx1100 -mattr=-real-true16
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' -check-prefixes=GFX1100,SDAG-GFX1100-FAKE16 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\mad-mix-lo.ll'
# note: command had no output on stdout or stderr
# RUN: at line 4
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -mtriple=amdgcn -mcpu=gfx900 < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\mad-mix-lo.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe -check-prefixes=GFX900,SDAG-GFX900 C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\mad-mix-lo.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -mtriple=amdgcn -mcpu=gfx900
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' -check-prefixes=GFX900,SDAG-GFX900 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\mad-mix-lo.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=gfx906 < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\mad-mix-lo.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe -check-prefixes=GFX906,SDAG-GFX906 C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\mad-mix-lo.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -mtriple=amdgcn -mcpu=gfx906
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' -check-prefixes=GFX906,SDAG-GFX906 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\mad-mix-lo.ll'
# note: command had no output on stdout or stderr
# RUN: at line 6
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -mtriple=amdgcn -mcpu=fiji < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\mad-mix-lo.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe -check-prefixes=VI,SDAG-VI C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\mad-mix-lo.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -mtriple=amdgcn -mcpu=fiji
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' -check-prefixes=VI,SDAG-VI 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\mad-mix-lo.ll'
# note: command had no output on stdout or stderr
# RUN: at line 7
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -mtriple=amdgcn -mcpu=hawaii < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\mad-mix-lo.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe -check-prefixes=SDAG-CI C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\mad-mix-lo.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -mtriple=amdgcn -mcpu=hawaii
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' -check-prefixes=SDAG-CI 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\mad-mix-lo.ll'
# note: command had no output on stdout or stderr
# RUN: at line 11
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -global-isel -new-reg-bank-select -mtriple=amdgcn -mcpu=gfx1100 -mattr=-real-true16 < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\mad-mix-lo.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe -check-prefixes=GFX1100,GISEL-GFX1100,GISEL-GFX1100-FAKE16 C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\mad-mix-lo.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -global-isel -new-reg-bank-select -mtriple=amdgcn -mcpu=gfx1100 -mattr=-real-true16
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' -check-prefixes=GFX1100,GISEL-GFX1100,GISEL-GFX1100-FAKE16 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\mad-mix-lo.ll'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\mad-mix-lo.ll:280:17: error: GFX1100-NEXT: expected string not found in input
# | ; GFX1100-NEXT: v_fma_mixlo_f16 v0, v0, v1, v2 op_sel_hi:[1,1,0] clamp
# | ^
# | <stdin>:218:41: note: scanning from here
# | s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
# | ^
# | <stdin>:219:2: note: possible intended match here
# | v_fma_mixlo_f16 v0, v0, v1, v2 op_sel_hi:[1,1,0]
# | ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\mad-mix-lo.ll:394:23: error: GISEL-GFX1100-NEXT: expected string not found in input
# | ; GISEL-GFX1100-NEXT: v_fma_mix_f32 v0, v0, v1, v2 op_sel_hi:[1,1,0] clamp
# | ^
# | <stdin>:260:41: note: scanning from here
# | s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
# | ^
# | <stdin>:261:2: note: possible intended match here
# | v_fma_mix_f32 v0, v0, v1, v2 op_sel_hi:[1,1,0]
# | ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\mad-mix-lo.ll:1013:23: error: GISEL-GFX1100-NEXT: expected string not found in input
# | ; GISEL-GFX1100-NEXT: v_fma_mixlo_f16 v3, v0, v1, v2 op_sel_hi:[1,1,1] clamp
# | ^
# | <stdin>:438:41: note: scanning from here
# | s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
# | ^
# | <stdin>:439:2: note: possible intended match here
# | v_fma_mixlo_f16 v3, v0, v1, v2 op_sel_hi:[1,1,1]
# | ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\mad-mix-lo.ll:1197:23: error: GISEL-GFX1100-NEXT: is not on the line after the previous match
# | ; GISEL-GFX1100-NEXT: v_fma_mixlo_f16 v1, v1, v3, v5 op_sel_hi:[1,1,1]
# | ^
# | <stdin>:485:2: note: 'next' match was here
# | v_fma_mixlo_f16 v1, v1, v3, v5 op_sel_hi:[1,1,1]
# | ^
# | <stdin>:483:41: note: previous match ended here
# | s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
# | ^
# | <stdin>:484:1: note: non-matching line after previous match is here
# | v_fma_mixlo_f16 v6, v0, v2, v4 op_sel_hi:[1,1,1]
# | ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\mad-mix-lo.ll:1449:23: error: GISEL-GFX1100-NEXT: expected string not found in input
# | ; GISEL-GFX1100-NEXT: v_fma_mixlo_f16 v6, v0, v2, v4 op_sel_hi:[1,1,1] clamp
# | ^
# | <stdin>:533:41: note: scanning from here
# | s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
# | ^
# | <stdin>:534:2: note: possible intended match here
# | v_fma_mixlo_f16 v6, v0, v2, v4 op_sel_hi:[1,1,1]
# | ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\mad-mix-lo.ll:1639:23: error: GISEL-GFX1100-NEXT: expected string not found in input
# | ; GISEL-GFX1100-NEXT: v_max_f16_e64 v3, v3, v3 clamp
# | ^
# | <stdin>:586:22: note: scanning from here
# | v_mov_b32_e32 v4, v3
# | ^
# | <stdin>:587:2: note: possible intended match here
# | v_med3_f16 v3, v3, 0, 1.0
# | ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\mad-mix-lo.ll:1804:23: error: GISEL-GFX1100-NEXT: expected string not found in input
# | ; GISEL-GFX1100-NEXT: v_fma_mixlo_f16 v3, v0, v1, v2 op_sel:[1,1,1] op_sel_hi:[1,1,1] clamp
# | ^
# | <stdin>:630:41: note: scanning from here
# | s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
# | ^
# | <stdin>:631:2: note: possible intended match here
# | v_fma_mixlo_f16 v3, v0, v1, v2 op_sel:[1,1,1] op_sel_hi:[1,1,1]
# | ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\mad-mix-lo.ll:1981:23: error: GISEL-GFX1100-NEXT: expected string not found in input
# | ; GISEL-GFX1100-NEXT: v_fma_mix_f32 v3, v0, v1, v2 op_sel_hi:[1,1,1] clamp
# | ^
# | <stdin>:679:41: note: scanning from here
# | s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
# | ^
# | <stdin>:680:2: note: possible intended match here
# | v_fma_mix_f32 v3, v0, v1, v2 op_sel_hi:[1,1,1]
# | ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\mad-mix-lo.ll:2158:23: error: GISEL-GFX1100-NEXT: expected string not found in input
# | ; GISEL-GFX1100-NEXT: v_fma_mix_f32 v1, v1, v3, v5 op_sel_hi:[1,1,1] clamp
# | ^
# | <stdin>:728:41: note: scanning from here
# | s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
# | ^
# | <stdin>:729:2: note: possible intended match here
# | v_fma_mix_f32 v1, v1, v3, v5 op_sel_hi:[1,1,1]
# | ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\mad-mix-lo.ll:2382:23: error: GISEL-GFX1100-NEXT: expected string not found in input
# | ; GISEL-GFX1100-NEXT: v_fma_mix_f32 v6, v0, v2, v4 op_sel_hi:[1,1,1] clamp
# | ^
# | <stdin>:784:41: note: scanning from here
# | s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
# | ^
# | <stdin>:785:2: note: possible intended match here
# | v_fma_mix_f32 v6, v0, v2, v4 op_sel_hi:[1,1,1]
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\mad-mix-lo.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 213: .globl v_mad_mixlo_f16_f16lo_f16lo_f32_clamp_post_cvt ; -- Begin function v_mad_mixlo_f16_f16lo_f16lo_f32_clamp_post_cvt
# | 214: .p2align 7
# | 215: .type v_mad_mixlo_f16_f16lo_f16lo_f32_clamp_post_cvt, at function
# | 216: v_mad_mixlo_f16_f16lo_f16lo_f32_clamp_post_cvt: ; @v_mad_mixlo_f16_f16lo_f16lo_f32_clamp_post_cvt
# | 217: ; %bb.0:
# | 218: s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
# | next:280'0 X error: no match found
# | 219: v_fma_mixlo_f16 v0, v0, v1, v2 op_sel_hi:[1,1,0]
# | next:280'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:280'1 ? possible intended match
# | 220: s_delay_alu instid0(VALU_DEP_1)
# | next:280'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 221: v_med3_f16 v0, v0, 0, 1.0
# | next:280'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 222: s_setpc_b64 s[30:31]
# | next:280'0 ~~~~~~~~~~~~~~~~~~~~~~
# | 223: .Lfunc_end5:
# | next:280'0 ~~~~~~~~~~~~~
# | 224: .size v_mad_mixlo_f16_f16lo_f16lo_f32_clamp_post_cvt, .Lfunc_end5-v_mad_mixlo_f16_f16lo_f16lo_f32_clamp_post_cvt
# | next:280'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 255: .globl v_mad_mixlo_f16_f16lo_f16lo_f32_clamp_pre_cvt ; -- Begin function v_mad_mixlo_f16_f16lo_f16lo_f32_clamp_pre_cvt
# | next:280'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 256: .p2align 7
# | next:280'0 ~~~~~~~~~~~~
# | 257: .type v_mad_mixlo_f16_f16lo_f16lo_f32_clamp_pre_cvt, at function
# | next:280'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 258: v_mad_mixlo_f16_f16lo_f16lo_f32_clamp_pre_cvt: ; @v_mad_mixlo_f16_f16lo_f16lo_f32_clamp_pre_cvt
# | next:280'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 259: ; %bb.0:
# | 260: s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
# | next:394'0 X error: no match found
# | 261: v_fma_mix_f32 v0, v0, v1, v2 op_sel_hi:[1,1,0]
# | next:394'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:394'1 ? possible intended match
# | 262: s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
# | next:394'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 263: v_med3_f32 v0, v0, 0, 1.0
# | next:394'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 264: v_cvt_f16_f32_e32 v0, v0
# | next:394'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 265: s_setpc_b64 s[30:31]
# | next:394'0 ~~~~~~~~~~~~~~~~~~~~~~
# | 266: .Lfunc_end6:
# | next:394'0 ~~~~~~~~~~~~~
# | .
# | .
# | .
# | 433: .globl v_mad_mix_v2f32_clamp_postcvt ; -- Begin function v_mad_mix_v2f32_clamp_postcvt
# | 434: .p2align 7
# | 435: .type v_mad_mix_v2f32_clamp_postcvt, at function
# | 436: v_mad_mix_v2f32_clamp_postcvt: ; @v_mad_mix_v2f32_clamp_postcvt
# | 437: ; %bb.0:
# | 438: s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
# | next:1013'0 X error: no match found
# | 439: v_fma_mixlo_f16 v3, v0, v1, v2 op_sel_hi:[1,1,1]
# | next:1013'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:1013'1 ? possible intended match
# | 440: s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
# | next:1013'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 441: v_fma_mixhi_f16 v3, v0, v1, v2 op_sel:[1,1,1] op_sel_hi:[1,1,1]
# | next:1013'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 442: v_pk_max_f16 v0, v3, 0
# | next:1013'0 ~~~~~~~~~~~~~~~~~~~~~~~~
# | 443: s_delay_alu instid0(VALU_DEP_1)
# | next:1013'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 444: v_pk_min_f16 v0, v0, 1.0 op_sel_hi:[1,0]
# | next:1013'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 480: .type v_mad_mix_v3f32_clamp_postcvt, at function
# | next:1013'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 481: v_mad_mix_v3f32_clamp_postcvt: ; @v_mad_mix_v3f32_clamp_postcvt
# | next:1013'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 482: ; %bb.0:
# | 483: s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
# | 484: v_fma_mixlo_f16 v6, v0, v2, v4 op_sel_hi:[1,1,1]
# | 485: v_fma_mixlo_f16 v1, v1, v3, v5 op_sel_hi:[1,1,1]
# | next:1197 !~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: match on wrong line
# | 486: s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
# | 487: v_fma_mixhi_f16 v6, v0, v2, v4 op_sel:[1,1,1] op_sel_hi:[1,1,1]
# | 488: v_and_b32_e32 v0, 0xffff, v1
# | 489: s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
# | 490: v_pk_max_f16 v1, v6, 0
# | .
# | .
# | .
# | 528: .globl v_mad_mix_v4f32_clamp_postcvt ; -- Begin function v_mad_mix_v4f32_clamp_postcvt
# | 529: .p2align 7
# | 530: .type v_mad_mix_v4f32_clamp_postcvt, at function
# | 531: v_mad_mix_v4f32_clamp_postcvt: ; @v_mad_mix_v4f32_clamp_postcvt
# | 532: ; %bb.0:
# | 533: s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
# | next:1449'0 X error: no match found
# | 534: v_fma_mixlo_f16 v6, v0, v2, v4 op_sel_hi:[1,1,1]
# | next:1449'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:1449'1 ? possible intended match
# | 535: v_fma_mixlo_f16 v7, v1, v3, v5 op_sel_hi:[1,1,1]
# | next:1449'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 536: s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
# | next:1449'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 537: v_fma_mixhi_f16 v6, v0, v2, v4 op_sel:[1,1,1] op_sel_hi:[1,1,1]
# | next:1449'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 538: v_fma_mixhi_f16 v7, v1, v3, v5 op_sel:[1,1,1] op_sel_hi:[1,1,1]
# | next:1449'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 539: s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
# | next:1449'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 581: v_mad_mix_v2f32_clamp_postcvt_lo: ; @v_mad_mix_v2f32_clamp_postcvt_lo
# | next:1449'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 582: ; %bb.0:
# | 583: s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
# | 584: v_fma_mixlo_f16 v3, v0, v1, v2 op_sel_hi:[1,1,1]
# | 585: s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
# | 586: v_mov_b32_e32 v4, v3
# | next:1639'0 X error: no match found
# | 587: v_med3_f16 v3, v3, 0, 1.0
# | next:1639'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:1639'1 ? possible intended match
# | 588: v_fma_mixhi_f16 v4, v0, v1, v2 op_sel:[1,1,1] op_sel_hi:[1,1,1]
# | next:1639'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 589: s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
# | next:1639'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 590: v_and_b32_e32 v0, 0xffff, v3
# | next:1639'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 591: v_and_or_b32 v0, 0xffff0000, v4, v0
# | next:1639'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 592: s_setpc_b64 s[30:31]
# | next:1639'0 ~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 625: .globl v_mad_mix_v2f32_clamp_postcvt_hi ; -- Begin function v_mad_mix_v2f32_clamp_postcvt_hi
# | next:1639'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 626: .p2align 7
# | next:1639'0 ~~~~~~~~~~~~
# | 627: .type v_mad_mix_v2f32_clamp_postcvt_hi, at function
# | next:1639'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 628: v_mad_mix_v2f32_clamp_postcvt_hi: ; @v_mad_mix_v2f32_clamp_postcvt_hi
# | next:1639'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 629: ; %bb.0:
# | 630: s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
# | next:1804'0 X error: no match found
# | 631: v_fma_mixlo_f16 v3, v0, v1, v2 op_sel:[1,1,1] op_sel_hi:[1,1,1]
# | next:1804'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:1804'1 ? possible intended match
# | 632: v_fma_mixlo_f16 v4, v0, v1, v2 op_sel_hi:[1,1,1]
# | next:1804'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 633: s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
# | next:1804'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 634: v_med3_f16 v3, v3, 0, 1.0
# | next:1804'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 635: v_fma_mixhi_f16 v4, v0, v1, v2 op_sel:[1,1,1] op_sel_hi:[1,1,1]
# | next:1804'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 636: s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
# | next:1804'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 674: .globl v_mad_mix_v2f32_clamp_precvt ; -- Begin function v_mad_mix_v2f32_clamp_precvt
# | next:1804'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 675: .p2align 7
# | next:1804'0 ~~~~~~~~~~~~
# | 676: .type v_mad_mix_v2f32_clamp_precvt, at function
# | next:1804'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 677: v_mad_mix_v2f32_clamp_precvt: ; @v_mad_mix_v2f32_clamp_precvt
# | next:1804'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 678: ; %bb.0:
# | 679: s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
# | next:1981'0 X error: no match found
# | 680: v_fma_mix_f32 v3, v0, v1, v2 op_sel_hi:[1,1,1]
# | next:1981'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:1981'1 ? possible intended match
# | 681: v_fma_mix_f32 v0, v0, v1, v2 op_sel:[1,1,1] op_sel_hi:[1,1,1]
# | next:1981'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 682: s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
# | next:1981'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 683: v_med3_f32 v1, v3, 0, 1.0
# | next:1981'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 684: v_med3_f32 v0, v0, 0, 1.0
# | next:1981'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 685: s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
# | next:1981'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 723: .globl v_mad_mix_v3f32_clamp_precvt ; -- Begin function v_mad_mix_v3f32_clamp_precvt
# | next:1981'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 724: .p2align 7
# | next:1981'0 ~~~~~~~~~~~~
# | 725: .type v_mad_mix_v3f32_clamp_precvt, at function
# | next:1981'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 726: v_mad_mix_v3f32_clamp_precvt: ; @v_mad_mix_v3f32_clamp_precvt
# | next:1981'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 727: ; %bb.0:
# | 728: s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
# | next:2158'0 X error: no match found
# | 729: v_fma_mix_f32 v1, v1, v3, v5 op_sel_hi:[1,1,1]
# | next:2158'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:2158'1 ? possible intended match
# | 730: v_fma_mix_f32 v3, v0, v2, v4 op_sel_hi:[1,1,1]
# | next:2158'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 731: v_fma_mix_f32 v0, v0, v2, v4 op_sel:[1,1,1] op_sel_hi:[1,1,1]
# | next:2158'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 732: s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
# | next:2158'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 733: v_med3_f32 v1, v1, 0, 1.0
# | next:2158'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 734: v_med3_f32 v2, v3, 0, 1.0
# | next:2158'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 779: .globl v_mad_mix_v4f32_clamp_precvt ; -- Begin function v_mad_mix_v4f32_clamp_precvt
# | next:2158'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 780: .p2align 7
# | next:2158'0 ~~~~~~~~~~~~
# | 781: .type v_mad_mix_v4f32_clamp_precvt, at function
# | next:2158'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 782: v_mad_mix_v4f32_clamp_precvt: ; @v_mad_mix_v4f32_clamp_precvt
# | next:2158'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 783: ; %bb.0:
# | 784: s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
# | next:2382'0 X error: no match found
# | 785: v_fma_mix_f32 v6, v0, v2, v4 op_sel_hi:[1,1,1]
# | next:2382'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:2382'1 ? possible intended match
# | 786: v_fma_mix_f32 v0, v0, v2, v4 op_sel:[1,1,1] op_sel_hi:[1,1,1]
# | next:2382'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 787: v_fma_mix_f32 v2, v1, v3, v5 op_sel_hi:[1,1,1]
# | next:2382'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 788: v_fma_mix_f32 v1, v1, v3, v5 op_sel:[1,1,1] op_sel_hi:[1,1,1]
# | next:2382'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 789: s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_4)
# | next:2382'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 790: v_med3_f32 v3, v6, 0, 1.0
# | next:2382'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>LLVM.CodeGen/AMDGPU/mad-mix.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=gfx1100 -mattr=+real-true16 < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\mad-mix.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe -check-prefixes=GFX1100,SDAG-GFX1100,SDAG-GFX1100-TRUE16 C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\mad-mix.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -mtriple=amdgcn -mcpu=gfx1100 -mattr=+real-true16
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' -check-prefixes=GFX1100,SDAG-GFX1100,SDAG-GFX1100-TRUE16 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\mad-mix.ll'
# note: command had no output on stdout or stderr
# RUN: at line 3
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -mtriple=amdgcn -mcpu=gfx1100 -mattr=-real-true16 < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\mad-mix.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe -check-prefixes=GFX1100,SDAG-GFX1100,SDAG-GFX1100-FAKE16 C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\mad-mix.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -mtriple=amdgcn -mcpu=gfx1100 -mattr=-real-true16
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' -check-prefixes=GFX1100,SDAG-GFX1100,SDAG-GFX1100-FAKE16 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\mad-mix.ll'
# note: command had no output on stdout or stderr
# RUN: at line 4
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -mtriple=amdgcn -mcpu=gfx900 < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\mad-mix.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe -check-prefixes=GFX900,SDAG-GFX900 C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\mad-mix.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -mtriple=amdgcn -mcpu=gfx900
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' -check-prefixes=GFX900,SDAG-GFX900 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\mad-mix.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=gfx906 < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\mad-mix.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe -check-prefixes=GFX906,SDAG-GFX906 C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\mad-mix.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -mtriple=amdgcn -mcpu=gfx906
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' -check-prefixes=GFX906,SDAG-GFX906 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\mad-mix.ll'
# note: command had no output on stdout or stderr
# RUN: at line 6
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -mtriple=amdgcn -mcpu=gfx9-generic --amdhsa-code-object-version=6 < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\mad-mix.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe -check-prefixes=GFX9GEN,SDAG-GFX9GEN C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\mad-mix.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -mtriple=amdgcn -mcpu=gfx9-generic --amdhsa-code-object-version=6
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' -check-prefixes=GFX9GEN,SDAG-GFX9GEN 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\mad-mix.ll'
# note: command had no output on stdout or stderr
# RUN: at line 7
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -mtriple=amdgcn -mcpu=fiji < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\mad-mix.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe -check-prefixes=VI,SDAG-VI C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\mad-mix.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -mtriple=amdgcn -mcpu=fiji
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' -check-prefixes=VI,SDAG-VI 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\mad-mix.ll'
# 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 -mcpu=hawaii < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\mad-mix.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe -check-prefixes=CI,SDAG-CI C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\mad-mix.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -mtriple=amdgcn -mcpu=hawaii
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' -check-prefixes=CI,SDAG-CI 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\mad-mix.ll'
# note: command had no output on stdout or stderr
# RUN: at line 12
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -global-isel -new-reg-bank-select -mtriple=amdgcn -mcpu=gfx1100 -mattr=-real-true16 < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\mad-mix.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe -check-prefixes=GFX1100,GISEL-GFX1100,GISEL-GFX1100-FAKE16 C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\mad-mix.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -global-isel -new-reg-bank-select -mtriple=amdgcn -mcpu=gfx1100 -mattr=-real-true16
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' -check-prefixes=GFX1100,GISEL-GFX1100,GISEL-GFX1100-FAKE16 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\mad-mix.ll'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\mad-mix.ll:1596:17: error: GFX1100-NEXT: expected string not found in input
# | ; GFX1100-NEXT: v_fma_mix_f32 v0, v0, v1, v2 op_sel:[1,1,1] op_sel_hi:[1,1,1] clamp
# | ^
# | <stdin>:804:41: note: scanning from here
# | s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
# | ^
# | <stdin>:805:2: note: possible intended match here
# | v_fma_mix_f32 v0, v0, v1, v2 op_sel:[1,1,1] op_sel_hi:[1,1,1]
# | ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\mad-mix.ll:3428:17: error: GFX1100-NEXT: expected string not found in input
# | ; GFX1100-NEXT: v_fma_mix_f32 v0, v0, 1.0, v1 op_sel:[1,0,1] op_sel_hi:[1,1,1] clamp
# | ^
# | <stdin>:1979:41: note: scanning from here
# | s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
# | ^
# | <stdin>:1980:2: note: possible intended match here
# | v_fma_mix_f32 v0, v0, 1.0, v1 op_sel:[1,0,1] op_sel_hi:[1,1,1]
# | ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\mad-mix.ll:5020:17: error: GFX1100-NEXT: expected string not found in input
# | ; GFX1100-NEXT: v_fma_mix_f32 v0, v0, v1, neg(0) op_sel:[1,1,0] op_sel_hi:[1,1,0] clamp
# | ^
# | <stdin>:2910:41: note: scanning from here
# | s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
# | ^
# | <stdin>:2911:2: note: possible intended match here
# | v_fma_mix_f32 v0, v0, v1, neg(0) op_sel:[1,1,0] op_sel_hi:[1,1,0]
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\mad-mix.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 799: .globl v_mad_mix_clamp_f32_f16hi_f16hi_f16hi_elt ; -- Begin function v_mad_mix_clamp_f32_f16hi_f16hi_f16hi_elt
# | 800: .p2align 7
# | 801: .type v_mad_mix_clamp_f32_f16hi_f16hi_f16hi_elt, at function
# | 802: v_mad_mix_clamp_f32_f16hi_f16hi_f16hi_elt: ; @v_mad_mix_clamp_f32_f16hi_f16hi_f16hi_elt
# | 803: ; %bb.0:
# | 804: s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
# | next:1596'0 X error: no match found
# | 805: v_fma_mix_f32 v0, v0, v1, v2 op_sel:[1,1,1] op_sel_hi:[1,1,1]
# | next:1596'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:1596'1 ? possible intended match
# | 806: s_delay_alu instid0(VALU_DEP_1)
# | next:1596'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 807: v_med3_f32 v0, v0, 0, 1.0
# | next:1596'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 808: s_setpc_b64 s[30:31]
# | next:1596'0 ~~~~~~~~~~~~~~~~~~~~~~
# | 809: .Lfunc_end19:
# | next:1596'0 ~~~~~~~~~~~~~~
# | 810: .size v_mad_mix_clamp_f32_f16hi_f16hi_f16hi_elt, .Lfunc_end19-v_mad_mix_clamp_f32_f16hi_f16hi_f16hi_elt
# | next:1596'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 1974: .globl v_mad_mix_clamp_f32_f16hi_add_f16hi ; -- Begin function v_mad_mix_clamp_f32_f16hi_add_f16hi
# | 1975: .p2align 7
# | 1976: .type v_mad_mix_clamp_f32_f16hi_add_f16hi, at function
# | 1977: v_mad_mix_clamp_f32_f16hi_add_f16hi: ; @v_mad_mix_clamp_f32_f16hi_add_f16hi
# | 1978: ; %bb.0:
# | 1979: s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
# | next:3428'0 X error: no match found
# | 1980: v_fma_mix_f32 v0, v0, 1.0, v1 op_sel:[1,0,1] op_sel_hi:[1,1,1]
# | next:3428'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:3428'1 ? possible intended match
# | 1981: s_delay_alu instid0(VALU_DEP_1)
# | next:3428'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1982: v_med3_f32 v0, v0, 0, 1.0
# | next:3428'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1983: s_setpc_b64 s[30:31]
# | next:3428'0 ~~~~~~~~~~~~~~~~~~~~~~
# | 1984: .Lfunc_end48:
# | next:3428'0 ~~~~~~~~~~~~~~
# | 1985: .size v_mad_mix_clamp_f32_f16hi_add_f16hi, .Lfunc_end48-v_mad_mix_clamp_f32_f16hi_add_f16hi
# | next:3428'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 2905: .globl v_mad_mix_clamp_f32_f16hi_mul_f16hi_elt ; -- Begin function v_mad_mix_clamp_f32_f16hi_mul_f16hi_elt
# | 2906: .p2align 7
# | 2907: .type v_mad_mix_clamp_f32_f16hi_mul_f16hi_elt, at function
# | 2908: v_mad_mix_clamp_f32_f16hi_mul_f16hi_elt: ; @v_mad_mix_clamp_f32_f16hi_mul_f16hi_elt
# | 2909: ; %bb.0:
# | 2910: s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
# | next:5020'0 X error: no match found
# | 2911: v_fma_mix_f32 v0, v0, v1, neg(0) op_sel:[1,1,0] op_sel_hi:[1,1,0]
# | next:5020'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:5020'1 ? possible intended match
# | 2912: s_delay_alu instid0(VALU_DEP_1)
# | next:5020'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 2913: v_med3_f32 v0, v0, 0, 1.0
# | next:5020'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 2914: s_setpc_b64 s[30:31]
# | next:5020'0 ~~~~~~~~~~~~~~~~~~~~~~
# | 2915: .Lfunc_end71:
# | next:5020'0 ~~~~~~~~~~~~~~
# | 2916: .size v_mad_mix_clamp_f32_f16hi_mul_f16hi_elt, .Lfunc_end71-v_mad_mix_clamp_f32_f16hi_mul_f16hi_elt
# | next:5020'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/190542
More information about the llvm-commits
mailing list