[llvm] Added ISD::FMAXIMUM/ISD::FMINIMUM + ISD::FMAXIMUMNUM/ISD::FMINIMUMNUM (PR #190465)

via llvm-commits llvm-commits at lists.llvm.org
Sun Apr 5 10:31:37 PDT 2026


github-actions[bot] wrote:

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

* 133065 tests passed
* 3061 tests skipped
* 1 test failed

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

### LLVM
<details>
<summary>LLVM.Transforms/Attributor/nofpclass-minimum-maximum-minimumnum-maximumnum.ll</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\opt.exe -aa-pipeline=basic-aa -passes=attributor -attributor-manifest-internal -S < C:\_work\llvm-project\llvm-project\llvm\test\Transforms\Attributor\nofpclass-minimum-maximum-minimumnum-maximumnum.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe --allow-unused-prefixes C:\_work\llvm-project\llvm-project\llvm\test\Transforms\Attributor\nofpclass-minimum-maximum-minimumnum-maximumnum.ll --check-prefixes=CHECK,TUNIT
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\opt.exe' -aa-pipeline=basic-aa -passes=attributor -attributor-manifest-internal -S
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' --allow-unused-prefixes 'C:\_work\llvm-project\llvm-project\llvm\test\Transforms\Attributor\nofpclass-minimum-maximum-minimumnum-maximumnum.ll' --check-prefixes=CHECK,TUNIT
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\Transforms\Attributor\nofpclass-minimum-maximum-minimumnum-maximumnum.ll:15:16: error: CHECK-LABEL: expected string not found in input
# | ; CHECK-LABEL: define float @ret_minimum_noinf__noinf
# |                ^
# | <stdin>:5:26: note: scanning from here
# | define float @ret_minimum(float %arg0, float %arg1) #0 {
# |                          ^
# | <stdin>:17:1: note: possible intended match here
# | define float @ret_minimum_noinf__nonan(float nofpclass(inf) %arg0, float nofpclass(nan) %arg1) #0 {
# | ^
# | 
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\Transforms\Attributor\nofpclass-minimum-maximum-minimumnum-maximumnum.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             1: ; ModuleID = '<stdin>' 
# |             2: source_filename = "<stdin>" 
# |             3:  
# |             4: ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) 
# |             5: define float @ret_minimum(float %arg0, float %arg1) #0 { 
# | label:15'0                              X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# |             6:  %call = call float @llvm.minimum.f32(float %arg0, float %arg1) #2 
# | label:15'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             7:  ret float %call 
# | label:15'0     ~~~~~~~~~~~~~~~~~
# |             8: } 
# | label:15'0     ~~
# |             9:  
# | label:15'0     ~
# |            10: ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) 
# | label:15'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            11: define nofpclass(inf) float @ret_minimum_noinf__noinf(float nofpclass(inf) %arg0, float nofpclass(inf) %arg1) #0 { 
# | label:15'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            12:  %call = call nofpclass(inf) float @llvm.minimum.f32(float nofpclass(inf) %arg0, float nofpclass(inf) %arg1) #2 
# | label:15'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            13:  ret float %call 
# | label:15'0     ~~~~~~~~~~~~~~~~~
# |            14: } 
# | label:15'0     ~~
# |            15:  
# | label:15'0     ~
# |            16: ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) 
# | label:15'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            17: define float @ret_minimum_noinf__nonan(float nofpclass(inf) %arg0, float nofpclass(nan) %arg1) #0 { 
# | label:15'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | label:15'1     ?                                                                                                    possible intended match
# |            18:  %call = call float @llvm.minimum.f32(float nofpclass(inf) %arg0, float nofpclass(nan) %arg1) #2 
# | label:15'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            19:  ret float %call 
# | label:15'0     ~~~~~~~~~~~~~~~~~
# |            20: } 
# | label:15'0     ~~
# |            21:  
# | label:15'0     ~
# |            22: ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) 
# | label:15'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/190465


More information about the llvm-commits mailing list