[llvm] [RISCV][GISel] Legalize G_IS_FPCLASS for fp128 (PR #195738)

via llvm-commits llvm-commits at lists.llvm.org
Tue May 5 01:20:17 PDT 2026


github-actions[bot] wrote:

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

* 173649 tests passed
* 3289 tests skipped
* 1 test failed

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

### LLVM
<details>
<summary>LLVM.CodeGen/RISCV/GlobalISel/legalizer-info-validation.mir</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=riscv32-- -run-pass=legalizer /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/legalizer-info-validation.mir      -mattr=+m,+zbb,+zfh,+v -o - 2>&1 | /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/GlobalISel/legalizer-info-validation.mir --check-prefixes=CHECK
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=riscv32-- -run-pass=legalizer /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/legalizer-info-validation.mir -mattr=+m,+zbb,+zfh,+v -o -
# 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/GlobalISel/legalizer-info-validation.mir --check-prefixes=CHECK
# note: command had no output on stdout or stderr
# RUN: at line 3
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=riscv64-- -run-pass=legalizer /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/legalizer-info-validation.mir      -mattr=+m,+zbb,+zfh,+v -o - 2>&1 | /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/GlobalISel/legalizer-info-validation.mir --check-prefixes=CHECK
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=riscv64-- -run-pass=legalizer /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/legalizer-info-validation.mir -mattr=+m,+zbb,+zfh,+v -o -
# 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/GlobalISel/legalizer-info-validation.mir --check-prefixes=CHECK
# note: command had no output on stdout or stderr
# RUN: at line 6
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=riscv32-- -run-pass=legalizer /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/legalizer-info-validation.mir -debug-only=legalizer-info -verbose-gisel-verify-legalizer-info      -mattr=+m,+zbb,+zfh,+v -o - 2>&1 | /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/GlobalISel/legalizer-info-validation.mir --check-prefixes=CHECK,DEBUG,DEBUG-RV32
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=riscv32-- -run-pass=legalizer /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/legalizer-info-validation.mir -debug-only=legalizer-info -verbose-gisel-verify-legalizer-info -mattr=+m,+zbb,+zfh,+v -o -
# 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/GlobalISel/legalizer-info-validation.mir --check-prefixes=CHECK,DEBUG,DEBUG-RV32
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/legalizer-info-validation.mir:613:15: error: DEBUG-NEXT: expected string not found in input
# | # DEBUG-NEXT: G_IS_FPCLASS (opcode 220): 2 type indices, 0 imm indices
# |               ^
# | <stdin>:551:69: note: scanning from here
# | .. imm index coverage check SKIPPED: user-defined predicate detected
# |                                                                     ^
# | <stdin>:552:1: note: possible intended match here
# | G_IS_FPCLASS (opcode 222): 2 type indices, 0 imm indices
# | ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/legalizer-info-validation.mir
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             .
# |             .
# |             .
# |           546: .. opcode 220 is aliased to 211 
# |           547: .. the first uncovered type index: 1, OK 
# |           548: .. the first uncovered imm index: 0, OK 
# |           549: G_FCOPYSIGN (opcode 221): 2 type indices, 0 imm indices 
# |           550: .. type index coverage check SKIPPED: user-defined predicate detected 
# |           551: .. imm index coverage check SKIPPED: user-defined predicate detected 
# | next:613'0                                                                         X error: no match found
# |           552: G_IS_FPCLASS (opcode 222): 2 type indices, 0 imm indices 
# | next:613'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:613'1     ?                                                         possible intended match
# |           553: .. type index coverage check SKIPPED: user-defined predicate detected 
# | next:613'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           554: .. imm index coverage check SKIPPED: user-defined predicate detected 
# | next:613'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           555: G_FCANONICALIZE (opcode 223): 1 type index, 0 imm indices 
# | next:613'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           556: .. the first uncovered type index: 1, OK 
# | next:613'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           557: .. the first uncovered imm index: 0, OK 
# | next:613'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/195738


More information about the llvm-commits mailing list