[llvm-branch-commits] [llvm] DAG: Gracefully diagnose missing soft-float and strict-FP libcalls (PR #215065)

via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Sun Aug 9 00:54:38 PDT 2026


github-actions[bot] wrote:

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

* 139504 tests passed
* 3660 tests skipped
* 1 test failed

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

### LLVM
<details>
<summary>LLVM.CodeGen/AMDGPU/fneg.ll</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -mtriple=amdgpu6.00 < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\fneg.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe -enable-var-scope -check-prefixes=GCN,SI C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\fneg.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -mtriple=amdgpu6.00
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' -enable-var-scope -check-prefixes=GCN,SI 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\fneg.ll'
# note: command had no output on stdout or stderr
# RUN: at line 3
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -mtriple=amdgpu8.02 < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\fneg.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe -enable-var-scope -check-prefixes=GCN,VI C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\fneg.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -mtriple=amdgpu8.02
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' -enable-var-scope -check-prefixes=GCN,VI 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\fneg.ll'
# note: command had no output on stdout or stderr
# RUN: at line 4
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -mtriple=amdgpu11.00 -mattr=+real-true16 < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\fneg.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe -enable-var-scope -check-prefixes=GCN,GFX11,GFX11-TRUE16 C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\fneg.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -mtriple=amdgpu11.00 -mattr=+real-true16
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' -enable-var-scope -check-prefixes=GCN,GFX11,GFX11-TRUE16 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\fneg.ll'
# note: command had no output on stdout or stderr
# RUN: at line 5
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -mtriple=amdgpu11.00 -mattr=-real-true16 < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\fneg.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe -enable-var-scope -check-prefixes=GCN,GFX11,GFX11-FAKE16 C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\fneg.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -mtriple=amdgpu11.00 -mattr=-real-true16
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' -enable-var-scope -check-prefixes=GCN,GFX11,GFX11-FAKE16 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\fneg.ll'
# note: command had no output on stdout or stderr
# RUN: at line 6
not --crash c:\_work\llvm-project\llvm-project\build\bin\llc.exe -mtriple=r600 -mcpu=redwood < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\fneg.ll 2>&1 | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe -check-prefix=R600-ERR C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\fneg.ll
# executed command: not --crash 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -mtriple=r600 -mcpu=redwood
# note: command had no output on stdout or stderr
# error: command failed with exit status: 1
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' -check-prefix=R600-ERR 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\fneg.ll'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\fneg.ll:8:13: error: R600-ERR: expected string not found in input
# | ; R600-ERR: LLVM ERROR: unsupported library call operation
# |             ^
# | <stdin>:1:1: note: scanning from here
# | error: no libcall available for fsub
# | ^
# | <stdin>:19:2: note: possible intended match here
# |  ALU clause starting at 4:
# |  ^
# | 
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\fneg.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |            1: error: no libcall available for fsub 
# | check:8'0    {                                       search range start (exclusive)
# | check:8'1                                            error: no match found in search range
# |            2:  .section .AMDGPU.config,"", at progbits 
# |            3:  .long 166100 
# |            4:  .long 2 
# |            5:  .long 165900 
# |            6:  .long 0 
# |            .
# |            .
# |            .
# |           14: ; %bb.0: 
# |           15:  ALU 3, @4, KC0[CB0:0-32], KC1[] 
# |           16:  MEM_RAT_CACHELESS STORE_RAW T0.X, T1.X, 1 
# |           17:  CF_END 
# |           18:  PAD 
# |           19:  ALU clause starting at 4: 
# | check:8'2      ?                           possible intended match
# |           20:  MOV * T0.W, KC0[2].Z,  
# |           21:  MOV T0.X, -PV.W,  
# |           22:  LSHR * T1.X, KC0[2].Y, literal.x,  
# |           23:  2(2.802597e-45), 0(0.000000e+00) 
# |           24: .Lfunc_end0: 
# |            .
# |            .
# |            .
# |          565: .Lfunc_end21: 
# |          566:  .size v_fneg_v2i16_fp_use, .Lfunc_end21-v_fneg_v2i16_fp_use 
# |          567:  ; -- End function 
# |          568:  .section .AMDGPU.csdata,"", at progbits 
# |          569:  ;SQ_PGM_RESOURCES:STACK_SIZE = 0 
# |          570:  .section ".note.GNU-stack","", at progbits 
# | check:8'3                                              } search range end (exclusive)
# | >>>>>>
# `-----------------------------
# 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/215065


More information about the llvm-branch-commits mailing list