[llvm] [LLVM][GlobalISel] Implement G_STRICT_FCMP in IRTranslator (PR #190754)

via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 7 02:51:17 PDT 2026


github-actions[bot] wrote:

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

* 133119 tests passed
* 3066 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 2
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -mtriple=riscv32-- -run-pass=legalizer C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\RISCV\GlobalISel\legalizer-info-validation.mir      -mattr=+m,+zbb,+zfh,+v -o - 2>&1 | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\RISCV\GlobalISel\legalizer-info-validation.mir --check-prefixes=CHECK
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -mtriple=riscv32-- -run-pass=legalizer 'C:\_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: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_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 4
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -mtriple=riscv64-- -run-pass=legalizer C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\RISCV\GlobalISel\legalizer-info-validation.mir      -mattr=+m,+zbb,+zfh,+v -o - 2>&1 | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\RISCV\GlobalISel\legalizer-info-validation.mir --check-prefixes=CHECK
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -mtriple=riscv64-- -run-pass=legalizer 'C:\_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: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_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 7
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -mtriple=riscv32-- -run-pass=legalizer C:\_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 | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\RISCV\GlobalISel\legalizer-info-validation.mir --check-prefixes=CHECK,DEBUG,DEBUG-RV32
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -mtriple=riscv32-- -run-pass=legalizer 'C:\_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: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\RISCV\GlobalISel\legalizer-info-validation.mir' --check-prefixes=CHECK,DEBUG,DEBUG-RV32
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\RISCV\GlobalISel\legalizer-info-validation.mir:863:15: error: DEBUG-NEXT: is not on the line after the previous match
# | # DEBUG-NEXT: G_READ_REGISTER (opcode {{[0-9]+}}): 1 type index, 0 imm indices
# |               ^
# | <stdin>:807:1: note: 'next' match was here
# | G_READ_REGISTER (opcode 298): 1 type index, 0 imm indices
# | ^
# | <stdin>:800:54: note: previous match ended here
# | .. imm index coverage check SKIPPED: no rules defined
# |                                                      ^
# | <stdin>:801:1: note: non-matching line after previous match is here
# | G_STRICT_FCMP (opcode 296): 2 type indices, 0 imm indices
# | ^
# | 
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\RISCV\GlobalISel\legalizer-info-validation.mir
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |           .
# |           .
# |           .
# |         802: .. type index coverage check SKIPPED: no rules defined 
# |         803: .. imm index coverage check SKIPPED: no rules defined 
# |         804: G_STRICT_FCMPS (opcode 297): 2 type indices, 0 imm indices 
# |         805: .. type index coverage check SKIPPED: no rules defined 
# |         806: .. imm index coverage check SKIPPED: no rules defined 
# |         807: G_READ_REGISTER (opcode 298): 1 type index, 0 imm indices 
# | next:863     !~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  error: match on wrong line
# |         808: .. opcode 298 is aliased to 166 
# |         809: .. type index coverage check SKIPPED: user-defined predicate detected 
# |         810: .. imm index coverage check SKIPPED: user-defined predicate detected 
# |         811: G_WRITE_REGISTER (opcode 299): 1 type index, 0 imm indices 
# |         812: .. opcode 299 is aliased to 166 
# |           .
# |           .
# |           .
# | >>>>>>
# `-----------------------------
# 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/190754


More information about the llvm-commits mailing list