[llvm] [RISCV][GlobalISel] Call `tryEmitMemcpyInline` for G_MEMCPY_INLINE (PR #192671)

via llvm-commits llvm-commits at lists.llvm.org
Sat Apr 18 04:04:39 PDT 2026


github-actions[bot] wrote:

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

* 133745 tests passed
* 3121 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:881:15: error: DEBUG-NEXT: is not on the line after the previous match
# | # DEBUG-NEXT: .. type index coverage check SKIPPED: no rules defined
# |               ^
# | <stdin>:830:1: note: 'next' match was here
# | .. type index coverage check SKIPPED: no rules defined
# | ^
# | <stdin>:818:60: note: previous match ended here
# | G_MEMCPY_INLINE (opcode 301): 3 type indices, 0 imm indices
# |                                                            ^
# | <stdin>:819:1: note: non-matching line after previous match is here
# | .. type index coverage check SKIPPED: user-defined predicate detected
# | ^
# | 
# | 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:
# | <<<<<<
# |           .
# |           .
# |           .
# |         825: G_MEMSET (opcode 303): 3 type indices, 1 imm index 
# |         826: .. opcode 303 is aliased to 300 
# |         827: .. type index coverage check SKIPPED: user-defined predicate detected 
# |         828: .. imm index coverage check SKIPPED: user-defined predicate detected 
# |         829: G_BZERO (opcode 304): 2 type indices, 1 imm index 
# |         830: .. type index coverage check SKIPPED: no rules defined 
# | next:881     !~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  error: match on wrong line
# |         831: .. imm index coverage check SKIPPED: no rules defined 
# |         832: G_TRAP (opcode 305): 0 type indices, 0 imm indices 
# |         833: .. type index coverage check SKIPPED: no rules defined 
# |         834: .. imm index coverage check SKIPPED: no rules defined 
# |         835: G_DEBUGTRAP (opcode 306): 0 type indices, 0 imm indices 
# |           .
# |           .
# |           .
# | >>>>>>
# `-----------------------------
# 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/192671


More information about the llvm-commits mailing list