[llvm] SelectionDAG: Support FMINIMUMNUM and FMINIMUM in combineMinNumMaxNumImpl (PR #137449)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 11 16:59:38 PST 2025
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results
* 167083 tests passed
* 2934 tests skipped
* 1 test 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
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx700 < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/select-flags-to-fmin-fmax.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=GFX7 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/select-flags-to-fmin-fmax.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx700
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=GFX7 /home/gha/actions-runner/_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
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx900 < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/select-flags-to-fmin-fmax.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=GFX9 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/select-flags-to-fmin-fmax.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx900
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=GFX9 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/select-flags-to-fmin-fmax.ll
# note: command had no output on stdout or stderr
# RUN: at line 4
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx1200 -mattr=+real-true16 < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/select-flags-to-fmin-fmax.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefixes=GFX12,GFX12-TRUE16 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/select-flags-to-fmin-fmax.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx1200 -mattr=+real-true16
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefixes=GFX12,GFX12-TRUE16 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/select-flags-to-fmin-fmax.ll
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/select-flags-to-fmin-fmax.ll:1428:22: error: GFX12-TRUE16-NEXT: expected string not found in input
# | ; GFX12-TRUE16-NEXT: s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
# | ^
# | <stdin>:1185:32: note: scanning from here
# | v_minimum_f16 v1.l, v1.l, v3.l
# | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/select-flags-to-fmin-fmax.ll:1750:22: error: GFX12-TRUE16-NEXT: expected string not found in input
# | ; GFX12-TRUE16-NEXT: s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
# | ^
# | <stdin>:1339:32: note: scanning from here
# | v_maximum_f16 v1.l, v1.l, v3.l
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_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:
# | <<<<<<
# | .
# | .
# | .
# | 1180: s_wait_bvhcnt 0x0
# | 1181: s_wait_kmcnt 0x0
# | 1182: v_minimum_f16 v1.h, v1.h, v3.h
# | 1183: v_minimum_f16 v0.h, v0.h, v2.h
# | 1184: v_minimum_f16 v0.l, v0.l, v2.l
# | 1185: v_minimum_f16 v1.l, v1.l, v3.l
# | next:1428 X error: no match found
# | 1186: s_setpc_b64 s[30:31]
# | next:1428 ~~~~~~~~~~~~~~~~~~~~~~
# | 1187: .Lfunc_end33:
# | next:1428 ~~~~~~~~~~~~~~
# | 1188: .size v_test_fmin_legacy_ule_v4f16_nnan_flag, .Lfunc_end33-v_test_fmin_legacy_ule_v4f16_nnan_flag
# | next:1428 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1189: ; -- End function
# | next:1428 ~~~~~~~~~~~~~~~~~~~
# | 1190: .set v_test_fmin_legacy_ule_v4f16_nnan_flag.num_vgpr, 4
# | next:1428 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 1334: s_wait_bvhcnt 0x0
# | 1335: s_wait_kmcnt 0x0
# | 1336: v_maximum_f16 v1.h, v1.h, v3.h
# | 1337: v_maximum_f16 v0.h, v0.h, v2.h
# | 1338: v_maximum_f16 v0.l, v0.l, v2.l
# | 1339: v_maximum_f16 v1.l, v1.l, v3.l
# | next:1750 X error: no match found
# | 1340: s_setpc_b64 s[30:31]
# | next:1750 ~~~~~~~~~~~~~~~~~~~~~~
# | 1341: .Lfunc_end37:
# | next:1750 ~~~~~~~~~~~~~~
# | 1342: .size v_test_fmax_legacy_uge_v4f16_nnan_flag, .Lfunc_end37-v_test_fmax_legacy_uge_v4f16_nnan_flag
# | next:1750 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1343: ; -- End function
# | next:1750 ~~~~~~~~~~~~~~~~~~~
# | 1344: .set v_test_fmax_legacy_uge_v4f16_nnan_flag.num_vgpr, 4
# | next:1750 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# 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