[llvm] [DAG] computeKnownFPClass - add ISD::SINT_TO_FP/UINT_TO_FP handling (PR #190539)
via llvm-commits
llvm-commits at lists.llvm.org
Wed May 6 20:53:20 PDT 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results
* 173891 tests passed
* 3302 tests skipped
* 1 test failed
## Failed Tests
(click on a test name to see its output)
### LLVM
<details>
<summary>LLVM.CodeGen/RISCV/combine-is_fpclass.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=riscv64 -mattr=+v,+f,+d < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/combine-is_fpclass.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/combine-is_fpclass.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=riscv64 -mattr=+v,+f,+d
# 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/CodeGen/RISCV/combine-is_fpclass.ll
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/combine-is_fpclass.ll:202:15: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: li a0, 0
# | ^
# | <stdin>:188:9: note: scanning from here
# | # %bb.0:
# | ^
# | <stdin>:191:4: note: possible intended match here
# | slli a0, a0, 59
# | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/combine-is_fpclass.ll:264:15: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: vsetivli zero, 4, e8, mf4, ta, ma
# | ^
# | <stdin>:264:9: note: scanning from here
# | # %bb.0:
# | ^
# | <stdin>:265:2: note: possible intended match here
# | vsetivli zero, 4, e32, m1, ta, ma
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/combine-is_fpclass.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 183: .globl uitofp_is_nan_neg_zero_subnorm # -- Begin function uitofp_is_nan_neg_zero_subnorm
# | 184: .p2align 2
# | 185: .type uitofp_is_nan_neg_zero_subnorm, at function
# | 186: uitofp_is_nan_neg_zero_subnorm: # @uitofp_is_nan_neg_zero_subnorm
# | 187: .cfi_startproc
# | 188: # %bb.0:
# | next:202'0 X error: no match found
# | 189: fcvt.s.wu fa5, a0
# | next:202'0 ~~~~~~~~~~~~~~~~~~~
# | 190: fclass.s a0, fa5
# | next:202'0 ~~~~~~~~~~~~~~~~~~
# | 191: slli a0, a0, 59
# | next:202'0 ~~~~~~~~~~~~~~~~~
# | next:202'1 ? possible intended match
# | 192: srli a0, a0, 63
# | next:202'0 ~~~~~~~~~~~~~~~~~
# | 193: ret
# | next:202'0 ~~~~~
# | 194: .Lfunc_end11:
# | next:202'0 ~~~~~~~~~~~~~~
# | 195: .size uitofp_is_nan_neg_zero_subnorm, .Lfunc_end11-uitofp_is_nan_neg_zero_subnorm
# | next:202'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 196: .cfi_endproc
# | next:202'0 ~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 259: .p2align 2
# | 260: .type uitofp_v4_is_nan_neg_zero_subnorm, at function
# | 261: .variant_cc uitofp_v4_is_nan_neg_zero_subnorm
# | 262: uitofp_v4_is_nan_neg_zero_subnorm: # @uitofp_v4_is_nan_neg_zero_subnorm
# | 263: .cfi_startproc
# | 264: # %bb.0:
# | next:264'0 X error: no match found
# | 265: vsetivli zero, 4, e32, m1, ta, ma
# | next:264'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:264'1 ? possible intended match
# | 266: vfcvt.f.xu.v v8, v8
# | next:264'0 ~~~~~~~~~~~~~~~~~~~~~
# | 267: vfclass.v v8, v8
# | next:264'0 ~~~~~~~~~~~~~~~~~~
# | 268: li a0, 16
# | next:264'0 ~~~~~~~~~~~
# | 269: vmseq.vx v0, v8, a0
# | next:264'0 ~~~~~~~~~~~~~~~~~~~~~
# | 270: ret
# | next:264'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/190539
More information about the llvm-commits
mailing list