[llvm] [RISCV][GlobalISel] Legalize G_ATOMICRMW_AND/OR/XOR (PR #205540)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 24 06:51:27 PDT 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results
* 136126 tests passed
* 3475 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
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 3
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 6
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:254:15: error: DEBUG-NEXT: is not on the line after the previous match
# | # DEBUG-NEXT: .. type index coverage check SKIPPED: no rules defined
# | ^
# | <stdin>:197:1: note: 'next' match was here
# | .. type index coverage check SKIPPED: no rules defined
# | ^
# | <stdin>:192:60: note: previous match ended here
# | G_ATOMICRMW_AND (opcode 114): 2 type indices, 0 imm indices
# | ^
# | <stdin>:193:1: note: non-matching line after previous match is here
# | .. opcode 114 is aliased to 110
# | ^
# |
# | 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:
# | <<<<<<
# | .
# | .
# | .
# | 192: G_ATOMICRMW_AND (opcode 114): 2 type indices, 0 imm indices
# | 193: .. opcode 114 is aliased to 110
# | 194: .. the first uncovered type index: 2, OK
# | 195: .. the first uncovered imm index: 0, OK
# | 196: G_ATOMICRMW_NAND (opcode 115): 2 type indices, 0 imm indices
# | 197: .. type index coverage check SKIPPED: no rules defined
# | next:254 !~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: match on wrong line
# | 198: .. imm index coverage check SKIPPED: no rules defined
# | 199: G_ATOMICRMW_OR (opcode 116): 2 type indices, 0 imm indices
# | 200: .. opcode 116 is aliased to 110
# | 201: .. the first uncovered type index: 2, OK
# | 202: .. the first uncovered imm index: 0, OK
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# 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/205540
More information about the llvm-commits
mailing list