[llvm] SelectionDAG: Support FMINIMUMNUM and FMINIMUM in combineMinNumMaxNumImpl (PR #137449)

via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 10 03:49:35 PST 2025


github-actions[bot] wrote:

<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results

* 128496 tests passed
* 2801 tests skipped
* 4 tests failed

## Failed Tests
(click on a test name to see its output)

### LLVM
<details>
<summary>LLVM.CodeGen/AMDGPU/select-flags-to-fmin-fmax.ll</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -mtriple=amdgcn-amd-amdhsa -mcpu=gfx700 < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\select-flags-to-fmin-fmax.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe -check-prefix=GFX7 C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\select-flags-to-fmin-fmax.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -mtriple=amdgcn-amd-amdhsa -mcpu=gfx700
# 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\select-flags-to-fmin-fmax.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-amd-amdhsa -mcpu=gfx900 < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\select-flags-to-fmin-fmax.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe -check-prefix=GFX9 C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\select-flags-to-fmin-fmax.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -mtriple=amdgcn-amd-amdhsa -mcpu=gfx900
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' -check-prefix=GFX9 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\select-flags-to-fmin-fmax.ll'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\select-flags-to-fmin-fmax.ll:1687:14: error: GFX9-NEXT: expected string not found in input
# | ; GFX9-NEXT: v_pk_max_f16 v2, v2, v2
# |              ^
# | <stdin>:1140:41: note: scanning from here
# |  s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
# |                                         ^
# | <stdin>:1141:2: note: possible intended match here
# |  v_pk_min_f16 v0, v0, v2
# |  ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\select-flags-to-fmin-fmax.ll:2038:14: error: GFX9-NEXT: expected string not found in input
# | ; GFX9-NEXT: v_pk_max_f16 v2, v2, v2
# |              ^
# | <stdin>:1299:41: note: scanning from here
# |  s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
# |                                         ^
# | <stdin>:1300:2: note: possible intended match here
# |  v_pk_max_f16 v0, v0, v2
# |  ^
# | 
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\select-flags-to-fmin-fmax.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |              .
# |              .
# |              .
# |           1135:  .globl v_test_fmin_legacy_ule_v4f16_nnan_nsz_flag ; -- Begin function v_test_fmin_legacy_ule_v4f16_nnan_nsz_flag 
# |           1136:  .p2align 2 
# |           1137:  .type v_test_fmin_legacy_ule_v4f16_nnan_nsz_flag, at function 
# |           1138: v_test_fmin_legacy_ule_v4f16_nnan_nsz_flag: ; @v_test_fmin_legacy_ule_v4f16_nnan_nsz_flag 
# |           1139: ; %bb.0: 
# |           1140:  s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0) 
# | next:1687'0                                             X error: no match found
# |           1141:  v_pk_min_f16 v0, v0, v2 
# | next:1687'0     ~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:1687'1      ?                        possible intended match
# |           1142:  v_pk_min_f16 v1, v1, v3 
# | next:1687'0     ~~~~~~~~~~~~~~~~~~~~~~~~~
# |           1143:  s_setpc_b64 s[30:31] 
# | next:1687'0     ~~~~~~~~~~~~~~~~~~~~~~
# |           1144: .Lfunc_end35: 
# | next:1687'0     ~~~~~~~~~~~~~~
# |           1145:  .size v_test_fmin_legacy_ule_v4f16_nnan_nsz_flag, .Lfunc_end35-v_test_fmin_legacy_ule_v4f16_nnan_nsz_flag 
# | next:1687'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           1146:  ; -- End function 
# | next:1687'0     ~~~~~~~~~~~~~~~~~~~
# |              .
# |              .
# |              .
# |           1294:  .globl v_test_fmax_legacy_uge_v4f16_nnan_nsz_flag ; -- Begin function v_test_fmax_legacy_uge_v4f16_nnan_nsz_flag 
# |           1295:  .p2align 2 
# |           1296:  .type v_test_fmax_legacy_uge_v4f16_nnan_nsz_flag, at function 
# |           1297: v_test_fmax_legacy_uge_v4f16_nnan_nsz_flag: ; @v_test_fmax_legacy_uge_v4f16_nnan_nsz_flag 
# |           1298: ; %bb.0: 
# |           1299:  s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0) 
# | next:2038'0                                             X error: no match found
# |           1300:  v_pk_max_f16 v0, v0, v2 
# | next:2038'0     ~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:2038'1      ?                        possible intended match
# |           1301:  v_pk_max_f16 v1, v1, v3 
# | next:2038'0     ~~~~~~~~~~~~~~~~~~~~~~~~~
# |           1302:  s_setpc_b64 s[30:31] 
# | next:2038'0     ~~~~~~~~~~~~~~~~~~~~~~
# |           1303: .Lfunc_end39: 
# | next:2038'0     ~~~~~~~~~~~~~~
# |           1304:  .size v_test_fmax_legacy_uge_v4f16_nnan_nsz_flag, .Lfunc_end39-v_test_fmax_legacy_uge_v4f16_nnan_nsz_flag 
# | next:2038'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           1305:  ; -- End function 
# | next:2038'0     ~~~~~~~~~~~~~~~~~~~
# |              .
# |              .
# |              .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>
<details>
<summary>LLVM.CodeGen/WebAssembly/f32.ll</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\llc.exe < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\WebAssembly\f32.ll -disable-wasm-fallthrough-return-opt -wasm-keep-registers | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\WebAssembly\f32.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -disable-wasm-fallthrough-return-opt -wasm-keep-registers
# 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\WebAssembly\f32.ll'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\WebAssembly\f32.ll:232:15: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: local.get $push2=, 0
# |               ^
# | <stdin>:235:9: note: scanning from here
# | # %bb.0:
# |         ^
# | <stdin>:236:2: note: possible intended match here
# |  local.get $push5=, 0
# |  ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\WebAssembly\f32.ll:282:15: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: local.get $push2=, 0
# |               ^
# | <stdin>:286:9: note: scanning from here
# | # %bb.0:
# |         ^
# | <stdin>:287:2: note: possible intended match here
# |  local.get $push5=, 0
# |  ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\WebAssembly\f32.ll:306:15: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: local.get $push2=, 0
# |               ^
# | <stdin>:313:9: note: scanning from here
# | # %bb.0:
# |         ^
# | <stdin>:314:2: note: possible intended match here
# |  local.get $push5=, 0
# |  ^
# | 
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\WebAssembly\f32.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             .
# |             .
# |             .
# |           230:  .section .text.fminnum32_intrinsic,"",@ 
# |           231:  .globl fminnum32_intrinsic # -- Begin function fminnum32_intrinsic 
# |           232:  .type fminnum32_intrinsic, at function 
# |           233: fminnum32_intrinsic: # @fminnum32_intrinsic 
# |           234:  .functype fminnum32_intrinsic (f32, f32) -> (f32) 
# |           235: # %bb.0: 
# | next:232'0             X error: no match found
# |           236:  local.get $push5=, 0 
# | next:232'0     ~~~~~~~~~~~~~~~~~~~~~~
# | next:232'1      ?                     possible intended match
# |           237:  local.get $push4=, 1 
# | next:232'0     ~~~~~~~~~~~~~~~~~~~~~~
# |           238:  local.get $push3=, 0 
# | next:232'0     ~~~~~~~~~~~~~~~~~~~~~~
# |           239:  local.get $push2=, 1 
# | next:232'0     ~~~~~~~~~~~~~~~~~~~~~~
# |           240:  f32.lt $push0=, $pop3, $pop2 
# | next:232'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           241:  f32.select $push1=, $pop5, $pop4, $pop0 
# | next:232'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             .
# |             .
# |             .
# |           281:  .section .text.fmaxnum32_intrinsic,"",@ 
# |           282:  .globl fmaxnum32_intrinsic # -- Begin function fmaxnum32_intrinsic 
# |           283:  .type fmaxnum32_intrinsic, at function 
# |           284: fmaxnum32_intrinsic: # @fmaxnum32_intrinsic 
# |           285:  .functype fmaxnum32_intrinsic (f32, f32) -> (f32) 
# |           286: # %bb.0: 
# | next:282'0             X error: no match found
# |           287:  local.get $push5=, 0 
# | next:282'0     ~~~~~~~~~~~~~~~~~~~~~~
# | next:282'1      ?                     possible intended match
# |           288:  local.get $push4=, 1 
# | next:282'0     ~~~~~~~~~~~~~~~~~~~~~~
# |           289:  local.get $push3=, 0 
# | next:282'0     ~~~~~~~~~~~~~~~~~~~~~~
# |           290:  local.get $push2=, 1 
# | next:282'0     ~~~~~~~~~~~~~~~~~~~~~~
# |           291:  f32.gt $push0=, $pop3, $pop2 
# | next:282'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           292:  f32.select $push1=, $pop5, $pop4, $pop0 
# | next:282'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             .
# |             .
# |             .
# |           308:  .section .text.fmaxnum32_zero_intrinsic,"",@ 
# |           309:  .globl fmaxnum32_zero_intrinsic # -- Begin function fmaxnum32_zero_intrinsic 
# |           310:  .type fmaxnum32_zero_intrinsic, at function 
# |           311: fmaxnum32_zero_intrinsic: # @fmaxnum32_zero_intrinsic 
# |           312:  .functype fmaxnum32_zero_intrinsic (f32) -> (f32) 
# |           313: # %bb.0: 
# | next:306'0             X error: no match found
# |           314:  local.get $push5=, 0 
# | next:306'0     ~~~~~~~~~~~~~~~~~~~~~~
# | next:306'1      ?                     possible intended match
# |           315:  f32.const $push0=, 0x0p0 
# | next:306'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           316:  local.get $push4=, 0 
# | next:306'0     ~~~~~~~~~~~~~~~~~~~~~~
# |           317:  f32.const $push3=, 0x0p0 
# | next:306'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           318:  f32.gt $push1=, $pop4, $pop3 
# | next:306'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           319:  f32.select $push2=, $pop5, $pop0, $pop1 
# | next:306'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             .
# |             .
# |             .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>
<details>
<summary>LLVM.CodeGen/WebAssembly/f64.ll</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\llc.exe < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\WebAssembly\f64.ll -disable-wasm-fallthrough-return-opt -wasm-keep-registers | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\WebAssembly\f64.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -disable-wasm-fallthrough-return-opt -wasm-keep-registers
# 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\WebAssembly\f64.ll'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\WebAssembly\f64.ll:232:15: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: local.get $push2=, 0
# |               ^
# | <stdin>:236:9: note: scanning from here
# | # %bb.0:
# |         ^
# | <stdin>:237:2: note: possible intended match here
# |  local.get $push5=, 0
# |  ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\WebAssembly\f64.ll:256:15: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: local.get $push2=, 0
# |               ^
# | <stdin>:263:9: note: scanning from here
# | # %bb.0:
# |         ^
# | <stdin>:264:2: note: possible intended match here
# |  local.get $push5=, 0
# |  ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\WebAssembly\f64.ll:294:15: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: local.get $push2=, 0
# |               ^
# | <stdin>:302:9: note: scanning from here
# | # %bb.0:
# |         ^
# | <stdin>:303:2: note: possible intended match here
# |  local.get $push5=, 0
# |  ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\WebAssembly\f64.ll:318:15: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: local.get $push2=, 0
# |               ^
# | <stdin>:329:9: note: scanning from here
# | # %bb.0:
# |         ^
# | <stdin>:330:2: note: possible intended match here
# |  local.get $push5=, 0
# |  ^
# | 
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\WebAssembly\f64.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             .
# |             .
# |             .
# |           231:  .section .text.fminnum64_intrinsic,"",@ 
# |           232:  .globl fminnum64_intrinsic # -- Begin function fminnum64_intrinsic 
# |           233:  .type fminnum64_intrinsic, at function 
# |           234: fminnum64_intrinsic: # @fminnum64_intrinsic 
# |           235:  .functype fminnum64_intrinsic (f64, f64) -> (f64) 
# |           236: # %bb.0: 
# | next:232'0             X error: no match found
# |           237:  local.get $push5=, 0 
# | next:232'0     ~~~~~~~~~~~~~~~~~~~~~~
# | next:232'1      ?                     possible intended match
# |           238:  local.get $push4=, 1 
# | next:232'0     ~~~~~~~~~~~~~~~~~~~~~~
# |           239:  local.get $push3=, 0 
# | next:232'0     ~~~~~~~~~~~~~~~~~~~~~~
# |           240:  local.get $push2=, 1 
# | next:232'0     ~~~~~~~~~~~~~~~~~~~~~~
# |           241:  f64.lt $push0=, $pop3, $pop2 
# | next:232'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           242:  f64.select $push1=, $pop5, $pop4, $pop0 
# | next:232'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             .
# |             .
# |             .
# |           258:  .section .text.fminnum64_zero_intrinsic,"",@ 
# |           259:  .globl fminnum64_zero_intrinsic # -- Begin function fminnum64_zero_intrinsic 
# |           260:  .type fminnum64_zero_intrinsic, at function 
# |           261: fminnum64_zero_intrinsic: # @fminnum64_zero_intrinsic 
# |           262:  .functype fminnum64_zero_intrinsic (f64) -> (f64) 
# |           263: # %bb.0: 
# | next:256'0             X error: no match found
# |           264:  local.get $push5=, 0 
# | next:256'0     ~~~~~~~~~~~~~~~~~~~~~~
# | next:256'1      ?                     possible intended match
# |           265:  f64.const $push0=, -0x0p0 
# | next:256'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           266:  local.get $push4=, 0 
# | next:256'0     ~~~~~~~~~~~~~~~~~~~~~~
# |           267:  f64.const $push3=, -0x0p0 
# | next:256'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           268:  f64.lt $push1=, $pop4, $pop3 
# | next:256'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           269:  f64.select $push2=, $pop5, $pop0, $pop1 
# | next:256'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             .
# |             .
# |             .
# |           297:  .section .text.fmaxnum64_intrinsic,"",@ 
# |           298:  .globl fmaxnum64_intrinsic # -- Begin function fmaxnum64_intrinsic 
# |           299:  .type fmaxnum64_intrinsic, at function 
# |           300: fmaxnum64_intrinsic: # @fmaxnum64_intrinsic 
# |           301:  .functype fmaxnum64_intrinsic (f64, f64) -> (f64) 
# |           302: # %bb.0: 
# | next:294'0             X error: no match found
# |           303:  local.get $push5=, 0 
# | next:294'0     ~~~~~~~~~~~~~~~~~~~~~~
# | next:294'1      ?                     possible intended match
# |           304:  local.get $push4=, 1 
# | next:294'0     ~~~~~~~~~~~~~~~~~~~~~~
# |           305:  local.get $push3=, 0 
# | next:294'0     ~~~~~~~~~~~~~~~~~~~~~~
# |           306:  local.get $push2=, 1 
# | next:294'0     ~~~~~~~~~~~~~~~~~~~~~~
# |           307:  f64.gt $push0=, $pop3, $pop2 
# | next:294'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           308:  f64.select $push1=, $pop5, $pop4, $pop0 
# | next:294'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             .
# |             .
# |             .
# |           324:  .section .text.fmaxnum64_zero_intrinsic,"",@ 
# |           325:  .globl fmaxnum64_zero_intrinsic # -- Begin function fmaxnum64_zero_intrinsic 
# |           326:  .type fmaxnum64_zero_intrinsic, at function 
# |           327: fmaxnum64_zero_intrinsic: # @fmaxnum64_zero_intrinsic 
# |           328:  .functype fmaxnum64_zero_intrinsic (f64) -> (f64) 
# |           329: # %bb.0: 
# | next:318'0             X error: no match found
# |           330:  local.get $push5=, 0 
# | next:318'0     ~~~~~~~~~~~~~~~~~~~~~~
# | next:318'1      ?                     possible intended match
# |           331:  f64.const $push0=, 0x0p0 
# | next:318'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           332:  local.get $push4=, 0 
# | next:318'0     ~~~~~~~~~~~~~~~~~~~~~~
# |           333:  f64.const $push3=, 0x0p0 
# | next:318'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           334:  f64.gt $push1=, $pop4, $pop3 
# | next:318'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           335:  f64.select $push2=, $pop5, $pop0, $pop1 
# | next:318'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             .
# |             .
# |             .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>
<details>
<summary>LLVM.CodeGen/WebAssembly/simd-arith.ll</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\llc.exe < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\WebAssembly\simd-arith.ll -verify-machineinstrs -disable-wasm-fallthrough-return-opt -wasm-disable-explicit-locals -wasm-keep-registers -mattr=+simd128 | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\WebAssembly\simd-arith.ll --check-prefix=SIMD128
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -verify-machineinstrs -disable-wasm-fallthrough-return-opt -wasm-disable-explicit-locals -wasm-keep-registers -mattr=+simd128
# 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\WebAssembly\simd-arith.ll' --check-prefix=SIMD128
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\WebAssembly\simd-arith.ll:12399:17: error: SIMD128-NEXT: expected string not found in input
# | ; SIMD128-NEXT: f32x4.extract_lane $push4=, $0, 0
# |                 ^
# | <stdin>:1964:9: note: scanning from here
# | # %bb.0:
# |         ^
# | <stdin>:1965:2: note: possible intended match here
# |  f32x4.extract_lane $push27=, $0, 0
# |  ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\WebAssembly\simd-arith.ll:12565:17: error: SIMD128-NEXT: expected string not found in input
# | ; SIMD128-NEXT: f32x4.extract_lane $push3=, $0, 0
# |                 ^
# | <stdin>:2022:9: note: scanning from here
# | # %bb.0:
# |         ^
# | <stdin>:2023:2: note: possible intended match here
# |  f32x4.extract_lane $push27=, $0, 0
# |  ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\WebAssembly\simd-arith.ll:12689:17: error: SIMD128-NEXT: expected string not found in input
# | ; SIMD128-NEXT: f32x4.extract_lane $push4=, $0, 0
# |                 ^
# | <stdin>:2069:9: note: scanning from here
# | # %bb.0:
# |         ^
# | <stdin>:2070:2: note: possible intended match here
# |  f32x4.extract_lane $push27=, $0, 0
# |  ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\WebAssembly\simd-arith.ll:12803:17: error: SIMD128-NEXT: expected string not found in input
# | ; SIMD128-NEXT: f32x4.extract_lane $push3=, $0, 0
# |                 ^
# | <stdin>:2116:9: note: scanning from here
# | # %bb.0:
# |         ^
# | <stdin>:2117:2: note: possible intended match here
# |  f32x4.extract_lane $push27=, $0, 0
# |  ^
# | 
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\WebAssembly\simd-arith.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |               .
# |               .
# |               .
# |            1959:  .section .text.minnum_intrinsic_v4f32,"",@ 
# |            1960:  .globl minnum_intrinsic_v4f32 # -- Begin function minnum_intrinsic_v4f32 
# |            1961:  .type minnum_intrinsic_v4f32, at function 
# |            1962: minnum_intrinsic_v4f32: # @minnum_intrinsic_v4f32 
# |            1963:  .functype minnum_intrinsic_v4f32 (v128, v128) -> (v128) 
# |            1964: # %bb.0: 
# | next:12399'0             X error: no match found
# |            1965:  f32x4.extract_lane $push27=, $0, 0 
# | next:12399'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:12399'1      ?                                   possible intended match
# |            1966:  local.tee $push26=, $3=, $pop27 
# | next:12399'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            1967:  f32x4.extract_lane $push25=, $1, 0 
# | next:12399'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            1968:  local.tee $push24=, $2=, $pop25 
# | next:12399'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            1969:  f32.lt $push2=, $3, $2 
# | next:12399'0     ~~~~~~~~~~~~~~~~~~~~~~~~
# |            1970:  f32.select $push3=, $pop26, $pop24, $pop2 
# | next:12399'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |               .
# |               .
# |               .
# |            2017:  .section .text.fminnumv432_one_zero_intrinsic,"",@ 
# |            2018:  .globl fminnumv432_one_zero_intrinsic # -- Begin function fminnumv432_one_zero_intrinsic 
# |            2019:  .type fminnumv432_one_zero_intrinsic, at function 
# |            2020: fminnumv432_one_zero_intrinsic: # @fminnumv432_one_zero_intrinsic 
# |            2021:  .functype fminnumv432_one_zero_intrinsic (v128) -> (v128) 
# |            2022: # %bb.0: 
# | next:12565'0             X error: no match found
# |            2023:  f32x4.extract_lane $push27=, $0, 0 
# | next:12565'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:12565'1      ?                                   possible intended match
# |            2024:  local.tee $push26=, $1=, $pop27 
# | next:12565'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            2025:  f32.const $push3=, -0x1p0 
# | next:12565'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            2026:  f32.const $push25=, -0x1p0 
# | next:12565'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            2027:  f32.lt $push4=, $1, $pop25 
# | next:12565'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            2028:  f32.select $push5=, $pop26, $pop3, $pop4 
# | next:12565'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |               .
# |               .
# |               .
# |            2064:  .section .text.maxnum_intrinsic_v4f32,"",@ 
# |            2065:  .globl maxnum_intrinsic_v4f32 # -- Begin function maxnum_intrinsic_v4f32 
# |            2066:  .type maxnum_intrinsic_v4f32, at function 
# |            2067: maxnum_intrinsic_v4f32: # @maxnum_intrinsic_v4f32 
# |            2068:  .functype maxnum_intrinsic_v4f32 (v128, v128) -> (v128) 
# |            2069: # %bb.0: 
# | next:12689'0             X error: no match found
# |            2070:  f32x4.extract_lane $push27=, $0, 0 
# | next:12689'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:12689'1      ?                                   possible intended match
# |            2071:  local.tee $push26=, $3=, $pop27 
# | next:12689'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            2072:  f32x4.extract_lane $push25=, $1, 0 
# | next:12689'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            2073:  local.tee $push24=, $2=, $pop25 
# | next:12689'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            2074:  f32.gt $push2=, $3, $2 
# | next:12689'0     ~~~~~~~~~~~~~~~~~~~~~~~~
# |            2075:  f32.select $push3=, $pop26, $pop24, $pop2 
# | next:12689'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |               .
# |               .
# |               .
# |            2111:  .section .text.maxnum_one_zero_intrinsic_v4f32,"",@ 
# |            2112:  .globl maxnum_one_zero_intrinsic_v4f32 # -- Begin function maxnum_one_zero_intrinsic_v4f32 
# |            2113:  .type maxnum_one_zero_intrinsic_v4f32, at function 
# |            2114: maxnum_one_zero_intrinsic_v4f32: # @maxnum_one_zero_intrinsic_v4f32 
# |            2115:  .functype maxnum_one_zero_intrinsic_v4f32 (v128, v128) -> (v128) 
# |            2116: # %bb.0: 
# | next:12803'0             X error: no match found
# |            2117:  f32x4.extract_lane $push27=, $0, 0 
# | next:12803'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:12803'1      ?                                   possible intended match
# |            2118:  local.tee $push26=, $2=, $pop27 
# | next:12803'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            2119:  f32.const $push3=, -0x1p0 
# | next:12803'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            2120:  f32.const $push25=, -0x1p0 
# | next:12803'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            2121:  f32.gt $push4=, $2, $pop25 
# | next:12803'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            2122:  f32.select $push5=, $pop26, $pop3, $pop4 
# | next:12803'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/137449


More information about the llvm-commits mailing list