[llvm] [GlobalISel] Implement `llvm.memset.inline` (PR #203198)

via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 12 05:56:45 PDT 2026


=?utf-8?q?Ömer_Sinan_Ağacan?= <omeragacan at gmail.com>,
=?utf-8?q?Ömer_Sinan_Ağacan?= <omeragacan at gmail.com>,
=?utf-8?q?Ömer_Sinan_Ağacan?= <omeragacan at gmail.com>,
=?utf-8?q?Ömer_Sinan_Ağacan?= <omeragacan at gmail.com>,
=?utf-8?q?Ömer_Sinan_Ağacan?= <omeragacan at gmail.com>,
=?utf-8?q?Ömer_Sinan_Ağacan?= <omeragacan at gmail.com>,
=?utf-8?q?Ömer_Sinan_Ağacan?= <omeragacan at gmail.com>,
=?utf-8?q?Ömer_Sinan_Ağacan?= <omeragacan at gmail.com>,
=?utf-8?q?Ömer_Sinan_Ağacan?= <omeragacan at gmail.com>,
=?utf-8?q?Ömer_Sinan_Ağacan?= <omeragacan at gmail.com>,
=?utf-8?q?Ömer_Sinan_Ağacan?= <omeragacan at gmail.com>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/203198 at github.com>


github-actions[bot] wrote:

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

* 135710 tests passed
* 3428 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:904:15: error: DEBUG-NEXT: is not on the line after the previous match
# | # DEBUG-NEXT: .. type index coverage check SKIPPED: user-defined predicate detected
# |               ^
# | <stdin>:844:1: note: 'next' match was here
# | .. type index coverage check SKIPPED: user-defined predicate detected
# | ^
# | <stdin>:842:60: note: previous match ended here
# | G_MEMSET_INLINE (opcode 308): 3 type indices, 0 imm indices
# |                                                            ^
# | <stdin>:843:1: note: non-matching line after previous match is here
# | .. opcode 308 is aliased to 304
# | ^
# | 
# | 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:
# | <<<<<<
# |           .
# |           .
# |           .
# |         839: G_BZERO (opcode 307): 2 type indices, 1 imm index 
# |         840: .. type index coverage check SKIPPED: no rules defined 
# |         841: .. imm index coverage check SKIPPED: no rules defined 
# |         842: G_MEMSET_INLINE (opcode 308): 3 type indices, 0 imm indices 
# |         843: .. opcode 308 is aliased to 304 
# |         844: .. type index coverage check SKIPPED: user-defined predicate detected 
# | next:904     !~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  error: match on wrong line
# |         845: .. imm index coverage check SKIPPED: user-defined predicate detected 
# |         846: G_TRAP (opcode 309): 0 type indices, 0 imm indices 
# |         847: .. type index coverage check SKIPPED: user-defined predicate detected 
# |         848: .. imm index coverage check SKIPPED: user-defined predicate detected 
# |         849: G_DEBUGTRAP (opcode 310): 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/203198


More information about the llvm-commits mailing list