[llvm-branch-commits] [llvm] ValueTracking: Handle constant structs in computeKnownFPClass (PR #184192)

via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Mon Mar 2 10:46:05 PST 2026


github-actions[bot] wrote:

<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results

* 170497 tests passed
* 3084 tests skipped
* 1 test failed

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

### LLVM
<details>
<summary>LLVM.Transforms/InstCombine/simplify-demanded-fpclass-aggregates.ll</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/opt -S -passes=instcombine < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-aggregates.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-aggregates.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/opt -S -passes=instcombine
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-aggregates.ll
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-aggregates.ll:113:15: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: ret { float, float } { float 0x7FF0000000000000, float 0x7FF0000000000000 }
# |               ^
# | <stdin>:60:7: note: scanning from here
# | entry:
# |       ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-aggregates.ll:123:15: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: ret [1 x float] [float -0.000000e+00]
# |               ^
# | <stdin>:65:7: note: scanning from here
# | entry:
# |       ^
# | <stdin>:66:2: note: possible intended match here
# |  ret [1 x float] poison
# |  ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-aggregates.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             .
# |             .
# |             .
# |            55: entry: 
# |            56:  ret { float, float } { float 0x7FF0000000000000, float 0x7FF0000000000000 } 
# |            57: } 
# |            58:  
# |            59: define nofpclass(inf) { float, float } @ret_nofpclass_multiple_elems_struct_ty_inf__npinf() { 
# |            60: entry: 
# | next:113             X error: no match found
# |            61:  ret { float, float } poison 
# | next:113       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            62: } 
# | next:113       ~~
# |            63:  
# | next:113       ~
# |            64: define nofpclass(nzero) [1 x float] @ret_nofpclass_multiple_elems_struct_ty_nzero_nzero() { 
# | next:113       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            65: entry: 
# | next:123'0           X error: no match found
# |            66:  ret [1 x float] poison 
# | next:123'0     ~~~~~~~~~~~~~~~~~~~~~~~~
# | next:123'1      ?                       possible intended match
# |            67: } 
# | next:123'0     ~~
# |            68:  
# | next:123'0     ~
# |            69: define nofpclass(inf) [3 x [2 x float]] @ret_float_array(i1 %cond, [3 x [2 x float]] nofpclass(nan zero sub norm) %x, [3 x [2 x float]] %y) { 
# | next:123'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            70:  ret [3 x [2 x float]] %y 
# |            71: } 
# |             .
# |             .
# |             .
# | >>>>>>
# `-----------------------------
# 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/184192


More information about the llvm-branch-commits mailing list