[llvm] Resolving #171877 (PR #172139)

via llvm-commits llvm-commits at lists.llvm.org
Sat Dec 13 03:23:19 PST 2025


github-actions[bot] wrote:

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

* 128625 tests passed
* 2816 tests skipped
* 2 tests failed

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

### LLVM
<details>
<summary>LLVM.Transforms/InstCombine/fdim.ll</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\opt.exe < C:\_work\llvm-project\llvm-project\llvm\test\Transforms\InstCombine\fdim.ll -passes=instcombine -S | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\Transforms\InstCombine\fdim.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\opt.exe' -passes=instcombine -S
# 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\Transforms\InstCombine\fdim.ll'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\Transforms\InstCombine\fdim.ll:6:15: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: ret double 2.500000e+00
# |               ^
# | <stdin>:4:31: note: scanning from here
# | define double @fdim_double() {
# |                               ^
# | <stdin>:5:44: note: possible intended match here
# |  %dim = call double @fdim(double 1.050000e+01, double 8.000000e+00)
# |                                            ^
# | C:\_work\llvm-project\llvm-project\llvm\test\Transforms\InstCombine\fdim.ll:14:15: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: ret double 0.000000e+00
# |               ^
# | <stdin>:9:32: note: scanning from here
# | define double @fdim_double1() {
# |                                ^
# | <stdin>:10:44: note: possible intended match here
# |  %dim = call double @fdim(double 7.000000e+00, double 8.000000e+00)
# |                                            ^
# | C:\_work\llvm-project\llvm-project\llvm\test\Transforms\InstCombine\fdim.ll:22:15: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: ret float 0.000000e+00
# |               ^
# | <stdin>:14:29: note: scanning from here
# | define float @fdim_float() {
# |                             ^
# | <stdin>:15:43: note: possible intended match here
# |  %dim = call float @fdimf(float 1.500000e+00, float 8.000000e+00)
# |                                           ^
# | C:\_work\llvm-project\llvm-project\llvm\test\Transforms\InstCombine\fdim.ll:30:15: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: ret float 2.000000e+00
# |               ^
# | <stdin>:19:30: note: scanning from here
# | define float @fdim_float1() {
# |                              ^
# | <stdin>:20:43: note: possible intended match here
# |  %dim = call float @fdimf(float 1.000000e+01, float 8.000000e+00)
# |                                           ^
# | C:\_work\llvm-project\llvm-project\llvm\test\Transforms\InstCombine\fdim.ll:72:15: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: ret double 0x7FF0000000000000
# |               ^
# | <stdin>:41:33: note: scanning from here
# | define double @fdim_inf_ninf() {
# |                                 ^
# | <stdin>:42:23: note: possible intended match here
# |  %dim = call double @fdim(double 0x7FF0000000000000, double -0.000000e+00)
# |                       ^
# | C:\_work\llvm-project\llvm-project\llvm\test\Transforms\InstCombine\fdim.ll:80:15: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: ret double 0x7FF8000000000000
# |               ^
# | <stdin>:46:28: note: scanning from here
# | define double @fdim_inf() {
# |                            ^
# | <stdin>:47:50: note: possible intended match here
# |  %dim = call double @fdim(double 0x7FF0000000000000, double 0x7FF0000000000000)
# |                                                  ^
# | C:\_work\llvm-project\llvm-project\llvm\test\Transforms\InstCombine\fdim.ll:88:15: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: ret double 0.000000e+00
# |               ^
# | <stdin>:51:30: note: scanning from here
# | define double @fdim_nzero() {
# |                              ^
# | <stdin>:52:45: note: possible intended match here
# |  %dim = call double @fdim(double -0.000000e+00, double 0.000000e+00)
# |                                             ^
# | C:\_work\llvm-project\llvm-project\llvm\test\Transforms\InstCombine\fdim.ll:105:15: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: ret double 0x7FF8000000000000
# |               ^
# | <stdin>:61:29: note: scanning from here
# | define double @fdim_nan1() {
# |                             ^
# | <stdin>:62:44: note: possible intended match here
# |  %dim = call double @fdim(double 1.000000e+01, double 0x7FF8000000000000)
# |                                            ^
# | C:\_work\llvm-project\llvm-project\llvm\test\Transforms\InstCombine\fdim.ll:114:15: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: ret double 0x7FF8000000000000
# |               ^
# | <stdin>:66:29: note: scanning from here
# | define double @fdim_nan2() {
# |                             ^
# | <stdin>:67:23: note: possible intended match here
# |  %dim = call double @fdim(double 0x7FF8000000000000, double 1.400000e+00)
# |                       ^
# | C:\_work\llvm-project\llvm-project\llvm\test\Transforms\InstCombine\fdim.ll:122:15: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: ret double 0x7FFC000000000000
# |               ^
# | <stdin>:71:30: note: scanning from here
# | define double @fdim_snan1() {
# |                              ^
# | <stdin>:72:23: note: possible intended match here
# |  %dim = call double @fdim(double 0x7FF4000000000000, double 1.400000e+00)
# |                       ^
# | C:\_work\llvm-project\llvm-project\llvm\test\Transforms\InstCombine\fdim.ll:130:15: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: ret double 0x7FFC000000000000
# |               ^
# | <stdin>:76:30: note: scanning from here
# | define double @fdim_snan2() {
# |                              ^
# | <stdin>:77:44: note: possible intended match here
# |  %dim = call double @fdim(double 1.700000e+00, double 0x7FF4000000000000)
# |                                            ^
# | 
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\Transforms\InstCombine\fdim.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             1: ; ModuleID = '<stdin>' 
# |             2: source_filename = "<stdin>" 
# |             3:  
# |             4: define double @fdim_double() { 
# | next:6'0                                     X error: no match found
# |             5:  %dim = call double @fdim(double 1.050000e+01, double 8.000000e+00) 
# | next:6'0       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:6'1                                                  ?                         possible intended match
# |             6:  ret double %dim 
# | next:6'0       ~~~~~~~~~~~~~~~~~
# |             7: } 
# | next:6'0       ~~
# |             8:  
# | next:6'0       ~
# |             9: define double @fdim_double1() { 
# | next:6'0       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:14'0                                     X error: no match found
# |            10:  %dim = call double @fdim(double 7.000000e+00, double 8.000000e+00) 
# | next:14'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:14'1                                                 ?                         possible intended match
# |            11:  ret double %dim 
# | next:14'0      ~~~~~~~~~~~~~~~~~
# |            12: } 
# | next:14'0      ~~
# |            13:  
# | next:14'0      ~
# |            14: define float @fdim_float() { 
# | next:14'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:22'0                                  X error: no match found
# |            15:  %dim = call float @fdimf(float 1.500000e+00, float 8.000000e+00) 
# | next:22'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:22'1                                                ?                        possible intended match
# |            16:  ret float %dim 
# | next:22'0      ~~~~~~~~~~~~~~~~
# |            17: } 
# | next:22'0      ~~
# |            18:  
# | next:22'0      ~
# |            19: define float @fdim_float1() { 
# | next:22'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:30'0                                   X error: no match found
# |            20:  %dim = call float @fdimf(float 1.000000e+01, float 8.000000e+00) 
# | next:30'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:30'1                                                ?                        possible intended match
# |            21:  ret float %dim 
# | next:30'0      ~~~~~~~~~~~~~~~~
# |            22: } 
# | next:30'0      ~~
# |            23:  
# | next:30'0      ~
# |            24: define double @fdim_poison1() { 
# | next:30'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            25:  ret double poison 
# |             .
# |             .
# |             .
# |            36: define double @fdim_undef1() { 
# |            37:  %dim = call double @fdim(double undef, double 1.000000e+00) 
# |            38:  ret double %dim 
# |            39: } 
# |            40:  
# |            41: define double @fdim_inf_ninf() { 
# | next:72'0                                      X error: no match found
# |            42:  %dim = call double @fdim(double 0x7FF0000000000000, double -0.000000e+00) 
# | next:72'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:72'1                            ?                                                     possible intended match
# |            43:  ret double %dim 
# | next:72'0      ~~~~~~~~~~~~~~~~~
# |            44: } 
# | next:72'0      ~~
# |            45:  
# | next:72'0      ~
# |            46: define double @fdim_inf() { 
# | next:72'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:80'0                                 X error: no match found
# |            47:  %dim = call double @fdim(double 0x7FF0000000000000, double 0x7FF0000000000000) 
# | next:80'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:80'1                                                       ?                               possible intended match
# |            48:  ret double %dim 
# | next:80'0      ~~~~~~~~~~~~~~~~~
# |            49: } 
# | next:80'0      ~~
# |            50:  
# | next:80'0      ~
# |            51: define double @fdim_nzero() { 
# | next:80'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:88'0                                   X error: no match found
# |            52:  %dim = call double @fdim(double -0.000000e+00, double 0.000000e+00) 
# | next:88'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:88'1                                                  ?                         possible intended match
# |            53:  ret double %dim 
# | next:88'0      ~~~~~~~~~~~~~~~~~
# |            54: } 
# | next:88'0      ~~
# |            55:  
# | next:88'0      ~
# |            56: define double @fdim_strictfp() { 
# | next:88'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            57:  %dim = call double @fdim(double 1.000000e+01, double 8.000000e+00) #1 
# |            58:  ret double %dim 
# |            59: } 
# |            60:  
# |            61: define double @fdim_nan1() { 
# | next:105'0                                 X error: no match found
# |            62:  %dim = call double @fdim(double 1.000000e+01, double 0x7FF8000000000000) 
# | next:105'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:105'1                                                ?                               possible intended match
# |            63:  ret double %dim 
# | next:105'0     ~~~~~~~~~~~~~~~~~
# |            64: } 
# | next:105'0     ~~
# |            65:  
# | next:105'0     ~
# |            66: define double @fdim_nan2() { 
# | next:105'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:114'0                                 X error: no match found
# |            67:  %dim = call double @fdim(double 0x7FF8000000000000, double 1.400000e+00) 
# | next:114'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:114'1                           ?                                                    possible intended match
# |            68:  ret double %dim 
# | next:114'0     ~~~~~~~~~~~~~~~~~
# |            69: } 
# | next:114'0     ~~
# |            70:  
# | next:114'0     ~
# |            71: define double @fdim_snan1() { 
# | next:114'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:122'0                                  X error: no match found
# |            72:  %dim = call double @fdim(double 0x7FF4000000000000, double 1.400000e+00) 
# | next:122'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:122'1                           ?                                                    possible intended match
# |            73:  ret double %dim 
# | next:122'0     ~~~~~~~~~~~~~~~~~
# |            74: } 
# | next:122'0     ~~
# |            75:  
# | next:122'0     ~
# |            76: define double @fdim_snan2() { 
# | next:122'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:130'0                                  X error: no match found
# |            77:  %dim = call double @fdim(double 1.700000e+00, double 0x7FF4000000000000) 
# | next:130'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:130'1                                                ?                               possible intended match
# |            78:  ret double %dim 
# | next:130'0     ~~~~~~~~~~~~~~~~~
# |            79: } 
# | next:130'0     ~~
# |            80:  
# | next:130'0     ~
# |            81: ; Function Attrs: memory(none) 
# | next:130'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            82: declare double @fdim(double, double) #0 
# | next:130'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             .
# |             .
# |             .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>
<details>
<summary>LLVM.Transforms/InstCombine/win-fdim.ll</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\opt.exe C:\_work\llvm-project\llvm-project\llvm\test\Transforms\InstCombine\win-fdim.ll -passes=instcombine -S -mtriple=i386-pc-windows-msvc | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\Transforms\InstCombine\win-fdim.ll --check-prefixes=MSVC19
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\opt.exe' 'C:\_work\llvm-project\llvm-project\llvm\test\Transforms\InstCombine\win-fdim.ll' -passes=instcombine -S -mtriple=i386-pc-windows-msvc
# 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\Transforms\InstCombine\win-fdim.ll' --check-prefixes=MSVC19
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\Transforms\InstCombine\win-fdim.ll:6:16: error: MSVC19-NEXT: expected string not found in input
# | ; MSVC19-NEXT: ret double 2.500000e+00
# |                ^
# | <stdin>:6:31: note: scanning from here
# | define double @fdim_double() {
# |                               ^
# | <stdin>:7:44: note: possible intended match here
# |  %dim = call double @fdim(double 1.050000e+01, double 8.000000e+00)
# |                                            ^
# | 
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\Transforms\InstCombine\win-fdim.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |           1: ; ModuleID = 'C:\_work\llvm-project\llvm-project\llvm\test\Transforms\InstCombine\win-fdim.ll' 
# |           2: source_filename = "C:\\_work\\llvm-project\\llvm-project\\llvm\\test\\Transforms\\InstCombine\\win-fdim.ll" 
# |           3: target datalayout = "e-m:x-p:32:32-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32-a:0:32-S32" 
# |           4: target triple = "i386-pc-windows-msvc" 
# |           5:  
# |           6: define double @fdim_double() { 
# | next:6'0                                   X error: no match found
# |           7:  %dim = call double @fdim(double 1.050000e+01, double 8.000000e+00) 
# | next:6'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:6'1                                                ?                         possible intended match
# |           8:  ret double %dim 
# | next:6'0     ~~~~~~~~~~~~~~~~~
# |           9: } 
# | next:6'0     ~~
# |          10:  
# | next:6'0     ~
# |          11: define float @fdim_float() { 
# | next:6'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |          12:  %dim = call float @fdimf(float 1.500000e+00, float 8.000000e+00) 
# |           .
# |           .
# |           .
# | >>>>>>
# `-----------------------------
# 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/172139


More information about the llvm-commits mailing list