[llvm] [RISCV][GlobalISel] Lower G_SMULFIX (PR #196636)

via llvm-commits llvm-commits at lists.llvm.org
Fri May 8 14:04:57 PDT 2026


github-actions[bot] wrote:

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

* 174013 tests passed
* 3320 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:487:15: error: DEBUG-NEXT: is not on the line after the previous match
# | # DEBUG-NEXT: .. type index coverage check SKIPPED: no rules defined
# |               ^
# | <stdin>:429:1: note: 'next' match was here
# | .. type index coverage check SKIPPED: no rules defined
# | ^
# | <stdin>:425:50: note: previous match ended here
# | G_SMULFIX (opcode 185): 1 type index, 1 imm index
# |                                                  ^
# | <stdin>:426:1: note: non-matching line after previous match is here
# | .. type index coverage check SKIPPED: user-defined predicate detected
# | ^
# | 
# | 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:
# | <<<<<<
# |           .
# |           .
# |           .
# |         424: .. imm index coverage check SKIPPED: user-defined predicate detected 
# |         425: G_SMULFIX (opcode 185): 1 type index, 1 imm index 
# |         426: .. type index coverage check SKIPPED: user-defined predicate detected 
# |         427: .. imm index coverage check SKIPPED: user-defined predicate detected 
# |         428: G_UMULFIX (opcode 186): 1 type index, 1 imm index 
# |         429: .. type index coverage check SKIPPED: no rules defined 
# | next:487     !~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  error: match on wrong line
# |         430: .. imm index coverage check SKIPPED: no rules defined 
# |         431: G_SMULFIXSAT (opcode 187): 1 type index, 1 imm index 
# |         432: .. type index coverage check SKIPPED: no rules defined 
# |         433: .. imm index coverage check SKIPPED: no rules defined 
# |         434: G_UMULFIXSAT (opcode 188): 1 type index, 1 imm index 
# |           .
# |           .
# |           .
# | >>>>>>
# `-----------------------------
# 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/196636


More information about the llvm-commits mailing list