[llvm-branch-commits] [llvm] [LV][REVEC] Correctly compute register usage (PR #213987)
via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Mon Oct 12 03:56:27 PDT 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results
* 155501 tests passed
* 3555 tests skipped
* 1 test failed
## Failed Tests
(click on a test name to see its output)
### LLVM
<details>
<summary>LLVM.CodeGen/Mips/r6-fp-condition-subregs.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=mipsel -mcpu=mips32r6 -verify-machineinstrs < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/Mips/r6-fp-condition-subregs.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/Mips/r6-fp-condition-subregs.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=mipsel -mcpu=mips32r6 -verify-machineinstrs
# 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/Mips/r6-fp-condition-subregs.ll
# note: command had no output on stdout or stderr
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=mips -mcpu=mips32r6 -verify-machineinstrs < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/Mips/r6-fp-condition-subregs.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/Mips/r6-fp-condition-subregs.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=mips -mcpu=mips32r6 -verify-machineinstrs
# 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/Mips/r6-fp-condition-subregs.ll
# 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=mipsel -mcpu=mips32r6 -mattr=+micromips -verify-machineinstrs < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/Mips/r6-fp-condition-subregs.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/Mips/r6-fp-condition-subregs.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=mipsel -mcpu=mips32r6 -mattr=+micromips -verify-machineinstrs
# 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/Mips/r6-fp-condition-subregs.ll
# note: command had no output on stdout or stderr
# RUN: at line 4
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=mips -mcpu=mips32r6 -mattr=+micromips -verify-machineinstrs < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/Mips/r6-fp-condition-subregs.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/Mips/r6-fp-condition-subregs.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=mips -mcpu=mips32r6 -mattr=+micromips -verify-machineinstrs
# 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/Mips/r6-fp-condition-subregs.ll
# note: command had no output on stdout or stderr
# RUN: at line 5
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=mips64el -mcpu=mips64r6 -verify-machineinstrs < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/Mips/r6-fp-condition-subregs.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/Mips/r6-fp-condition-subregs.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=mips64el -mcpu=mips64r6 -verify-machineinstrs
# 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/Mips/r6-fp-condition-subregs.ll
# 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=mips64 -mcpu=mips64r6 -verify-machineinstrs < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/Mips/r6-fp-condition-subregs.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/Mips/r6-fp-condition-subregs.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=mips64 -mcpu=mips64r6 -verify-machineinstrs
# 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/Mips/r6-fp-condition-subregs.ll
# note: command had no output on stdout or stderr
# RUN: at line 7
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=mips64el -mcpu=mips64r6 -target-abi=n32 -verify-machineinstrs < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/Mips/r6-fp-condition-subregs.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/Mips/r6-fp-condition-subregs.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=mips64el -mcpu=mips64r6 -target-abi=n32 -verify-machineinstrs
# 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/Mips/r6-fp-condition-subregs.ll
# note: command had no output on stdout or stderr
# RUN: at line 8
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=mips64 -mcpu=mips64r6 -target-abi=n32 -verify-machineinstrs < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/Mips/r6-fp-condition-subregs.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/Mips/r6-fp-condition-subregs.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=mips64 -mcpu=mips64r6 -target-abi=n32 -verify-machineinstrs
# 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/Mips/r6-fp-condition-subregs.ll
# note: command had no output on stdout or stderr
# RUN: at line 9
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=mipsel -mcpu=mips32r6 -stop-after=finalize-isel -verify-machineinstrs < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/Mips/r6-fp-condition-subregs.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/Mips/r6-fp-condition-subregs.ll --check-prefix=ISEL
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=mipsel -mcpu=mips32r6 -stop-after=finalize-isel -verify-machineinstrs
# 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/Mips/r6-fp-condition-subregs.ll --check-prefix=ISEL
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/Mips/r6-fp-condition-subregs.ll:37:9: error: ISEL: expected string not found in input
# | ; ISEL: %[[EXT:[0-9]+]]:fgr64 = INSERT_SUBREG %[[UNDEF]], killed %[[CC]], %subreg.sub_lo
# | ^
# | <stdin>:181:25: note: scanning from here
# | %5:fgr64 = IMPLICIT_DEF
# | ^
# | <stdin>:181:25: note: with "UNDEF" equal to "5"
# | %5:fgr64 = IMPLICIT_DEF
# | ^
# | <stdin>:181:25: note: with "CC" equal to "3"
# | %5:fgr64 = IMPLICIT_DEF
# | ^
# | <stdin>:181:25: note: pattern attempts to capture variables: "EXT"
# | %5:fgr64 = IMPLICIT_DEF
# | ^
# | <stdin>:182:2: note: possible intended match here
# | %4:fgr64 = INSERT_SUBREG %5, %3, %subreg.sub_lo
# | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/Mips/r6-fp-condition-subregs.ll:100:14: error: ISEL-NEXT: expected string not found in input
# | ; ISEL-NEXT: %[[CC:[0-9]+]]:fgr32 = COPY killed %[[CMP]]
# | ^
# | <stdin>:594:21: note: scanning from here
# | %2:fgr32 = CMP_LT_S %0, %1
# | ^
# | <stdin>:594:21: note: with "CMP" equal to "2"
# | %2:fgr32 = CMP_LT_S %0, %1
# | ^
# | <stdin>:594:21: note: pattern attempts to capture variables: "CC"
# | %2:fgr32 = CMP_LT_S %0, %1
# | ^
# | <stdin>:595:2: note: possible intended match here
# | %3:fgr32 = COPY %2
# | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/Mips/r6-fp-condition-subregs.ll:204:9: error: ISEL: expected string not found in input
# | ; ISEL: SW killed %[[BOOL]],
# | ^
# | <stdin>:1063:23: note: scanning from here
# | %4:gpr32 = ANDi %3, 1
# | ^
# | <stdin>:1063:23: note: with "BOOL" equal to "4"
# | %4:gpr32 = ANDi %3, 1
# | ^
# | <stdin>:1064:13: note: possible intended match here
# | %5:gpr32 = LW %fixed-stack.0, 0 :: (load (s32) from %fixed-stack.0, align 8)
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/Mips/r6-fp-condition-subregs.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 176:
# | 177: %1:fgr64 = COPY $d14_64
# | 178: %0:fgr64 = COPY $d12_64
# | 179: %2:fgr64 = CMP_LT_D %0, %1
# | 180: %3:gpr32 = COPY %2.sub_lo
# | 181: %5:fgr64 = IMPLICIT_DEF
# | check:37'0 { search range start (exclusive)
# | check:37'1 error: no match found in search range
# | check:37'2 with "UNDEF" equal to "5"
# | check:37'3 with "CC" equal to "3"
# | check:37'4 pattern attempts to capture variables: "EXT"
# | 182: %4:fgr64 = INSERT_SUBREG %5, %3, %subreg.sub_lo
# | check:37'5 ? possible intended match
# | 183: %6:fgr64 = SEL_D %4, %1, %0
# | 184: $d0_64 = COPY %6
# | 185: RetRA implicit $d0_64
# | 186: ...
# | 187: ---
# | .
# | .
# | .
# | 523: %10:fgr64 = SEL_D %7, %9, %4
# | 524: $d0_64 = COPY %10
# | 525: RetRA implicit $d0_64
# | 526: ...
# | 527: ---
# | 528: name: single_compare_select
# | check:37'6 } search range end (exclusive)
# | 529: alignment: 4
# | 530: exposesReturnsTwice: false
# | 531: legalized: false
# | 532: regBankSelected: false
# | 533: selected: false
# | .
# | .
# | .
# | 589: bb.0 (%ir-block.0):
# | 590: liveins: $f12, $f14
# | 591:
# | 592: %1:fgr32 = COPY $f14
# | 593: %0:fgr32 = COPY $f12
# | 594: %2:fgr32 = CMP_LT_S %0, %1
# | next:100'0 { search range start (exclusive)
# | next:100'1 error: no match found in search range
# | next:100'2 with "CMP" equal to "2"
# | next:100'3 pattern attempts to capture variables: "CC"
# | 595: %3:fgr32 = COPY %2
# | next:100'4 ? possible intended match
# | 596: %4:fgr32 = COPY %3
# | 597: %5:fgr32 = SEL_S %4, %1, %0
# | 598: $f0 = COPY %5
# | 599: RetRA implicit $f0
# | 600: ...
# | .
# | .
# | .
# | 713: %18:fgr32 = SEL_S %16, %17, %15
# | 714: SWC1 %18, %1, 0 :: (store (s32) into %ir.outf)
# | 715: RetRA
# | 716: ...
# | 717: ---
# | 718: name: phi_mixed_conditions
# | next:100'5 } search range end (exclusive)
# | 719: alignment: 4
# | 720: exposesReturnsTwice: false
# | 721: legalized: false
# | 722: regBankSelected: false
# | 723: selected: false
# | .
# | .
# | .
# | 1058:
# | 1059: %1:fgr64 = COPY $d14_64
# | 1060: %0:fgr64 = COPY $d12_64
# | 1061: %2:fgr64 = CMP_EQ_D %0, %1
# | 1062: %3:gpr32 = COPY %2.sub_lo
# | 1063: %4:gpr32 = ANDi %3, 1
# | check:204'0 { search range start (exclusive)
# | check:204'1 error: no match found in search range
# | check:204'2 with "BOOL" equal to "4"
# | 1064: %5:gpr32 = LW %fixed-stack.0, 0 :: (load (s32) from %fixed-stack.0, align 8)
# | check:204'3 ? possible intended match
# | 1065: SW %4, %5, 0 :: (store (s32) into %ir.out)
# | 1066: %6:fgr32 = COPY %3
# | 1067: BC1EQZ %6, %bb.2
# | 1068: J %bb.1, implicit-def dead $at
# | 1069:
# | .
# | .
# | .
# | 1076: bb.2.f:
# | 1077: ADJCALLSTACKDOWN 16, 0, implicit-def dead $sp, implicit $sp
# | 1078: JAL @branch_false, csr_o32_fp64, implicit-def dead $ra, implicit-def $sp
# | 1079: ADJCALLSTACKUP 16, 0, implicit-def dead $sp, implicit $sp
# | 1080: RetRA
# | 1081: ...
# | check:204'4 } search range end (exclusive)
# | >>>>>>
# `-----------------------------
# 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/213987
More information about the llvm-branch-commits
mailing list