[llvm] [LLVM] Add constant folding for llrint, llrintf, llrintl (PR #154799)

via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 9 23:55:49 PST 2025


github-actions[bot] wrote:

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

* 128439 tests passed
* 2793 tests skipped
* 1 test failed

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

### LLVM
<details>
<summary>LLVM.tools/llvm-tli-checker/ps4-tli-check.yaml</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 4
c:\_work\llvm-project\llvm-project\build\bin\yaml2obj.exe C:\_work\llvm-project\llvm-project\llvm\test\tools\llvm-tli-checker\ps4-tli-check.yaml -DTYPE=ET_REL -DLABEL=Symbols -DZDAPV=_ZdaPv -o=C:\_work\llvm-project\llvm-project\build\test\tools\llvm-tli-checker\Output\ps4-tli-check.yaml.tmp1
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\yaml2obj.exe' 'C:\_work\llvm-project\llvm-project\llvm\test\tools\llvm-tli-checker\ps4-tli-check.yaml' -DTYPE=ET_REL -DLABEL=Symbols -DZDAPV=_ZdaPv '-o=C:\_work\llvm-project\llvm-project\build\test\tools\llvm-tli-checker\Output\ps4-tli-check.yaml.tmp1'
# note: command had no output on stdout or stderr
# RUN: at line 5
llvm-tli-checker --triple=x86_64-scei-ps4 C:\_work\llvm-project\llvm-project\build\test\tools\llvm-tli-checker\Output\ps4-tli-check.yaml.tmp1 | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\tools\llvm-tli-checker\ps4-tli-check.yaml
# executed command: llvm-tli-checker --triple=x86_64-scei-ps4 'C:\_work\llvm-project\llvm-project\build\test\tools\llvm-tli-checker\Output\ps4-tli-check.yaml.tmp1'
# 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\tools\llvm-tli-checker\ps4-tli-check.yaml'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\tools\llvm-tli-checker\ps4-tli-check.yaml:37:10: error: CHECK: expected string not found in input
# | # CHECK: == Total TLI yes SDK yes: 277
# |          ^
# | <stdin>:25:27: note: scanning from here
# | >> Total TLI no SDK yes: 0
# |                           ^
# | <stdin>:26:1: note: possible intended match here
# | == Total TLI yes SDK yes: 280
# | ^
# | 
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\tools\llvm-tli-checker\ps4-tli-check.yaml
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             .
# |             .
# |             .
# |            20: << TLI yes SDK no : 'fmaximum_numl' 
# |            21: << TLI yes SDK no : 'fminimum_num' 
# |            22: << TLI yes SDK no : 'fminimum_numf' 
# |            23: << TLI yes SDK no : 'fminimum_numl' 
# |            24: << Total TLI yes SDK no: 18 
# |            25: >> Total TLI no SDK yes: 0 
# | check:37'0                               X error: no match found
# |            26: == Total TLI yes SDK yes: 280 
# | check:37'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:37'1     ?                              possible intended match
# |            27: FAIL: LLVM TLI doesn't match SDK libraries. 
# | check:37'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/154799


More information about the llvm-commits mailing list