[llvm-branch-commits] [llvm] [mcp-frameinst: 2/3]: [MCP][NFC] Opinionated refactoring (PR #186239)

via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Tue Apr 7 15:01:21 PDT 2026


github-actions[bot] wrote:

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

* 132435 tests passed
* 3015 tests skipped
* 4 tests failed

## Failed Tests
(click on a test name to see its output)

### LLVM
<details>
<summary>LLVM.CodeGen/PowerPC/machine-backward-cp.mir</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -O3 -verify-machineinstrs -mtriple=powerpc64le-unknown-unknown  -mcpu=pwr9 -simplify-mir -run-pass=machine-cp C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\PowerPC\machine-backward-cp.mir -o - | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\PowerPC\machine-backward-cp.mir
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -O3 -verify-machineinstrs -mtriple=powerpc64le-unknown-unknown -mcpu=pwr9 -simplify-mir -run-pass=machine-cp 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\PowerPC\machine-backward-cp.mir' -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\PowerPC\machine-backward-cp.mir'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\PowerPC\machine-backward-cp.mir:58:11: error: CHECK: expected string not found in input
# |  ; CHECK: renamable $x4 = LI8 1024
# |           ^
# | <stdin>:113:12: note: scanning from here
# | name: test2
# |            ^
# | <stdin>:125:2: note: possible intended match here
# |  $x13 = LI8 1024
# |  ^
# | 
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\PowerPC\machine-backward-cp.mir
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             .
# |             .
# |             .
# |           108:   
# |           109:  $x3 = COPY killed renamable $x4 
# |           110:  BLR8 implicit $lr8, implicit undef $rm, implicit $x3 
# |           111: ... 
# |           112: --- 
# |           113: name: test2 
# | check:58'0                X error: no match found
# |           114: alignment: 4 
# | check:58'0     ~~~~~~~~~~~~~
# |           115: tracksRegLiveness: true 
# | check:58'0     ~~~~~~~~~~~~~~~~~~~~~~~~
# |           116: noPhis: true 
# | check:58'0     ~~~~~~~~~~~~~
# |           117: isSSA: true 
# | check:58'0     ~~~~~~~~~~~~
# |           118: noVRegs: true 
# | check:58'0     ~~~~~~~~~~~~~~
# |           119: hasFakeUses: false 
# | check:58'0     ~~~~~~~~~~~~~~~~~~~
# |           120: frameInfo: 
# | check:58'0     ~~~~~~~~~~~
# |           121:  maxAlignment: 1 
# | check:58'0     ~~~~~~~~~~~~~~~~~
# |           122: machineFunctionInfo: {} 
# | check:58'0     ~~~~~~~~~~~~~~~~~~~~~~~~
# |           123: body: | 
# | check:58'0     ~~~~~~~~
# |           124:  bb.0.entry: 
# | check:58'0     ~~~~~~~~~~~~~
# |           125:  $x13 = LI8 1024 
# | check:58'0     ~~~~~~~~~~~~~~~~~
# | check:58'1      ?                possible intended match
# |           126:  BLR8 implicit $lr8, implicit undef $rm, implicit undef $x3 
# | check:58'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           127: ... 
# | check:58'0     ~~~~
# |           128: --- 
# | check:58'0     ~~~~
# |           129: name: test3 
# | check:58'0     ~~~~~~~~~~~
# |           130: alignment: 4 
# |             .
# |             .
# |             .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>
<details>
<summary>LLVM.CodeGen/SPARC/2013-05-17-CallFrame.ll</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -mtriple=sparc < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\SPARC\2013-05-17-CallFrame.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\SPARC\2013-05-17-CallFrame.ll --check-prefix=V8
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -mtriple=sparc
# 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\SPARC\2013-05-17-CallFrame.ll' --check-prefix=V8
# note: command had no output on stdout or stderr
# RUN: at line 3
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -mtriple=sparcv9 < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\SPARC\2013-05-17-CallFrame.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\SPARC\2013-05-17-CallFrame.ll --check-prefix=SPARC64
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -mtriple=sparcv9
# 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\SPARC\2013-05-17-CallFrame.ll' --check-prefix=SPARC64
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\SPARC\2013-05-17-CallFrame.ll:44:17: error: SPARC64-NEXT: expected string not found in input
# | ; SPARC64-NEXT: sub %sp, %i0, %i0
# |                 ^
# | <stdin>:17:19: note: scanning from here
# |  and %i0, %i1, %i0
# |                   ^
# | <stdin>:18:2: note: possible intended match here
# |  sub %sp, %i0, %sp
# |  ^
# | 
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\SPARC\2013-05-17-CallFrame.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |            .
# |            .
# |            .
# |           12:  or %i1, 1008, %i1 
# |           13:  sethi 0, %i2 
# |           14:  or %i2, 1, %i2 
# |           15:  sllx %i2, 32, %i2 
# |           16:  or %i2, %i1, %i1 
# |           17:  and %i0, %i1, %i0 
# | next:44'0                       X error: no match found
# |           18:  sub %sp, %i0, %sp 
# | next:44'0     ~~~~~~~~~~~~~~~~~~~
# | next:44'1      ?                  possible intended match
# |           19:  add %sp, 2175, %o0 
# | next:44'0     ~~~~~~~~~~~~~~~~~~~~
# |           20:  add %sp, -80, %sp 
# | next:44'0     ~~~~~~~~~~~~~~~~~~~
# |           21:  stx %o0, [%sp+2247] 
# | next:44'0     ~~~~~~~~~~~~~~~~~~~~~
# |           22:  stx %o0, [%sp+2239] 
# | next:44'0     ~~~~~~~~~~~~~~~~~~~~~
# |           23:  stx %o0, [%sp+2231] 
# | next:44'0     ~~~~~~~~~~~~~~~~~~~~~
# |            .
# |            .
# |            .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>
<details>
<summary>LLVM.CodeGen/SPARC/alloca-align.ll</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -mtriple=sparc < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\SPARC\alloca-align.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\SPARC\alloca-align.ll --check-prefixes=CHECK32
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -mtriple=sparc
# 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\SPARC\alloca-align.ll' --check-prefixes=CHECK32
# note: command had no output on stdout or stderr
# RUN: at line 3
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -mtriple=sparcv9 < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\SPARC\alloca-align.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\SPARC\alloca-align.ll --check-prefixes=CHECK64
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -mtriple=sparcv9
# 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\SPARC\alloca-align.ll' --check-prefixes=CHECK64
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\SPARC\alloca-align.ll:36:17: error: CHECK64-NEXT: expected string not found in input
# | ; CHECK64-NEXT: sub %sp, %i0, %i0
# |                 ^
# | <stdin>:20:19: note: scanning from here
# |  and %i0, %i1, %i0
# |                   ^
# | <stdin>:21:2: note: possible intended match here
# |  sub %sp, %i0, %sp
# |  ^
# | 
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\SPARC\alloca-align.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |            .
# |            .
# |            .
# |           15:  or %i1, 1008, %i1 
# |           16:  sethi 0, %i2 
# |           17:  or %i2, 1, %i2 
# |           18:  sllx %i2, 32, %i2 
# |           19:  or %i2, %i1, %i1 
# |           20:  and %i0, %i1, %i0 
# | next:36'0                       X error: no match found
# |           21:  sub %sp, %i0, %sp 
# | next:36'0     ~~~~~~~~~~~~~~~~~~~
# | next:36'1      ?                  possible intended match
# |           22:  add %sp, 2175, %o1 
# | next:36'0     ~~~~~~~~~~~~~~~~~~~~
# |           23:  call foo 
# | next:36'0     ~~~~~~~~~~
# |           24:  add %sp, -48, %sp 
# | next:36'0     ~~~~~~~~~~~~~~~~~~~
# |           25:  add %sp, 48, %sp 
# | next:36'0     ~~~~~~~~~~~~~~~~~~
# |           26:  ret 
# | next:36'0     ~~~~~
# |            .
# |            .
# |            .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>
<details>
<summary>LLVM.CodeGen/VE/Scalar/pic_indirect_func_call.ll</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -relocation-model=pic < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\VE\Scalar\pic_indirect_func_call.ll -mtriple=ve-unknown-unknown | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\VE\Scalar\pic_indirect_func_call.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -relocation-model=pic -mtriple=ve-unknown-unknown
# 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\VE\Scalar\pic_indirect_func_call.ll'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\VE\Scalar\pic_indirect_func_call.ll:15:15: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: ld %s0, (%s0, %s15)
# |               ^
# | <stdin>:31:36: note: scanning from here
# |  lea.sl %s0, function at got_hi(, %s0)
# |                                    ^
# | <stdin>:36:2: note: possible intended match here
# |  ld %s1, (%s1, %s15)
# |  ^
# | 
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\VE\Scalar\pic_indirect_func_call.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |            .
# |            .
# |            .
# |           26:  and %s15, %s15, (32)0 
# |           27:  sic %s16 
# |           28:  lea.sl %s15, _GLOBAL_OFFSET_TABLE_ at pc_hi(%s16, %s15) 
# |           29:  lea %s0, function at got_lo 
# |           30:  and %s0, %s0, (32)0 
# |           31:  lea.sl %s0, function at got_hi(, %s0) 
# | next:15'0                                        X error: no match found
# |           32:  ld %s12, (%s0, %s15) 
# | next:15'0     ~~~~~~~~~~~~~~~~~~~~~~
# |           33:  lea %s1, ptr at got_lo 
# | next:15'0     ~~~~~~~~~~~~~~~~~~~~~
# |           34:  and %s1, %s1, (32)0 
# | next:15'0     ~~~~~~~~~~~~~~~~~~~~~
# |           35:  lea.sl %s1, ptr at got_hi(, %s1) 
# | next:15'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           36:  ld %s1, (%s1, %s15) 
# | next:15'0     ~~~~~~~~~~~~~~~~~~~~~
# | next:15'1      ?                    possible intended match
# |           37:  st %s12, (, %s1) 
# | next:15'0     ~~~~~~~~~~~~~~~~~~
# |           38:  bsic %s10, (, %s12) 
# | next:15'0     ~~~~~~~~~~~~~~~~~~~~~
# |           39:  or %s11, 0, %s9 
# | next:15'0     ~~~~~~~~~~~~~~~~~
# |           40:  ld %s16, 32(, %s11) 
# | next:15'0     ~~~~~~~~~~~~~~~~~~~~~
# |           41:  ld %s15, 24(, %s11) 
# | next:15'0     ~~~~~~~~~~~~~~~~~~~~~
# |            .
# |            .
# |            .
# | >>>>>>
# `-----------------------------
# 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/186239


More information about the llvm-branch-commits mailing list