[llvm-branch-commits] [llvm] release/23.x: [StackColoring] Update IR when merging stack slots of differing alignment (#237412) (PR #237897)

via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Mon Nov 2 03:15:16 PST 2026


github-actions[bot] wrote:

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

* 179006 tests passed
* 3630 tests skipped
* 1 test failed

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

### LLVM
<details>
<summary>LLVM.CodeGen/AArch64/stack-coloring-alignment.ll</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -filetype=null /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AArch64/stack-coloring-alignment.ll -mtriple=arm64-apple-darwin -misched-print-dags 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/AArch64/stack-coloring-alignment.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -filetype=null /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AArch64/stack-coloring-alignment.ll -mtriple=arm64-apple-darwin -misched-print-dags
# 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/AArch64/stack-coloring-alignment.ll
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AArch64/stack-coloring-alignment.ll:8:17: error: CHECK-LABEL: expected string not found in input
# |  ; CHECK-LABEL: test_stack_coloring_maintains_alignment_metadata:%bb.0
# |                 ^
# | <stdin>:1:1: note: scanning from here
# | SU(0): STRWui $wzr, %stack.0.alloca.a, 1 :: (store (s32) into %ir.alloca.b.1)
# | ^
# | <stdin>:64:62: note: possible intended match here
# | SU(2): $fp, $lr = frame-destroy LDPXi $sp, 2 :: (load (s64) from %stack.3), (load (s64) from %stack.2)
# |                                                              ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AArch64/stack-coloring-alignment.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |            1: SU(0): STRWui $wzr, %stack.0.alloca.a, 1 :: (store (s32) into %ir.alloca.b.1) 
# | label:8'0    {                                                                                search range start (exclusive)
# | label:8'1                                                                                     error: no match found in search range
# |            2:  # preds left : 0 
# |            3:  # succs left : 1 
# |            4:  # rdefs left : 0 
# |            5:  Latency : 1 
# |            6:  Depth : 0 
# |            .
# |            .
# |            .
# |           59:  Height : 1 
# |           60:  Predecessors: 
# |           61:  SU(0): Ord Latency=1 Memory 
# |           62:  Successors: 
# |           63:  ExitSU: Ord Latency=1 Artificial 
# |           64: SU(2): $fp, $lr = frame-destroy LDPXi $sp, 2 :: (load (s64) from %stack.3), (load (s64) from %stack.2) 
# | label:8'2                                                                  ?                                           possible intended match
# |           65:  # preds left : 0 
# |           66:  # succs left : 1 
# |           67:  # rdefs left : 0 
# |           68:  Latency : 3 
# |           69:  Depth : 0 
# |            .
# |            .
# |            .
# |           77:  Latency : 0 
# |           78:  Depth : 2 
# |           79:  Height : 0 
# |           80:  Predecessors: 
# |           81:  SU(2): Ord Latency=2 Artificial 
# |           82:  SU(1): Ord Latency=1 Artificial 
# | label:8'3                                      } 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/237897


More information about the llvm-branch-commits mailing list