[llvm-branch-commits] [llvm] [RegAlloc] Add enableCSRFirstTimeMinCost to let RegAlloc has more choice (PR #239530)
via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Fri Nov 13 04:00:22 PST 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results
* 148636 tests passed
* 2300 tests skipped
* 1 test failed
## Failed Tests
(click on a test name to see its output)
### Clang
<details>
<summary>Clang.Frontend/stack-layout-remark.c</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 6
rm -rf C:\_work\llvm-project\llvm-project\build\tools\clang\test\Frontend\Output\stack-layout-remark.c.tmp
# executed command: rm -rf 'C:\_work\llvm-project\llvm-project\build\tools\clang\test\Frontend\Output\stack-layout-remark.c.tmp'
# note: command had no output on stdout or stderr
# RUN: at line 7
mkdir -p C:\_work\llvm-project\llvm-project\build\tools\clang\test\Frontend\Output\stack-layout-remark.c.tmp
# executed command: mkdir -p 'C:\_work\llvm-project\llvm-project\build\tools\clang\test\Frontend\Output\stack-layout-remark.c.tmp'
# note: command had no output on stdout or stderr
# RUN: at line 8
c:\_work\llvm-project\llvm-project\build\bin\clang.exe -cc1 -internal-isystem C:\_work\llvm-project\llvm-project\build\lib\clang\24\include -nostdsysteminc C:\_work\llvm-project\llvm-project\clang\test\Frontend\stack-layout-remark.c -emit-codegen-only -triple x86_64-unknown-linux-gnu -target-cpu corei7 -Rpass-analysis=stack-frame-layout -o /dev/null -O0 2>&1 | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\clang\test\Frontend\stack-layout-remark.c --check-prefix=O0-NODEBUG
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe' -cc1 -internal-isystem 'C:\_work\llvm-project\llvm-project\build\lib\clang\24\include' -nostdsysteminc 'C:\_work\llvm-project\llvm-project\clang\test\Frontend\stack-layout-remark.c' -emit-codegen-only -triple x86_64-unknown-linux-gnu -target-cpu corei7 -Rpass-analysis=stack-frame-layout -o /dev/null -O0
# 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\clang\test\Frontend\stack-layout-remark.c' --check-prefix=O0-NODEBUG
# note: command had no output on stdout or stderr
# RUN: at line 9
c:\_work\llvm-project\llvm-project\build\bin\clang.exe -cc1 -internal-isystem C:\_work\llvm-project\llvm-project\build\lib\clang\24\include -nostdsysteminc C:\_work\llvm-project\llvm-project\clang\test\Frontend\stack-layout-remark.c -emit-codegen-only -triple x86_64-unknown-linux-gnu -target-cpu corei7 -Rpass-analysis=stack-frame-layout -o /dev/null -O0 -debug-info-kind=constructor -dwarf-version=5 -debugger-tuning=gdb 2>&1 | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\clang\test\Frontend\stack-layout-remark.c --check-prefix=O0-DEBUG
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe' -cc1 -internal-isystem 'C:\_work\llvm-project\llvm-project\build\lib\clang\24\include' -nostdsysteminc 'C:\_work\llvm-project\llvm-project\clang\test\Frontend\stack-layout-remark.c' -emit-codegen-only -triple x86_64-unknown-linux-gnu -target-cpu corei7 -Rpass-analysis=stack-frame-layout -o /dev/null -O0 -debug-info-kind=constructor -dwarf-version=5 -debugger-tuning=gdb
# 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\clang\test\Frontend\stack-layout-remark.c' --check-prefix=O0-DEBUG
# note: command had no output on stdout or stderr
# RUN: at line 10
c:\_work\llvm-project\llvm-project\build\bin\clang.exe -cc1 -internal-isystem C:\_work\llvm-project\llvm-project\build\lib\clang\24\include -nostdsysteminc C:\_work\llvm-project\llvm-project\clang\test\Frontend\stack-layout-remark.c -emit-codegen-only -triple x86_64-unknown-linux-gnu -target-cpu corei7 -funwind-tables=2 -O3 -Rpass-analysis=stack-frame-layout -debug-info-kind=constructor -dwarf-version=5 -debugger-tuning=gdb -opt-record-file C:\_work\llvm-project\llvm-project\build\tools\clang\test\Frontend\Output\stack-layout-remark.c.tmp/stack-layout-remark.c.yml -opt-record-passes stack-frame-layout 2>&1 | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\clang\test\Frontend\stack-layout-remark.c --check-prefix=O3-DEBUG
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe' -cc1 -internal-isystem 'C:\_work\llvm-project\llvm-project\build\lib\clang\24\include' -nostdsysteminc 'C:\_work\llvm-project\llvm-project\clang\test\Frontend\stack-layout-remark.c' -emit-codegen-only -triple x86_64-unknown-linux-gnu -target-cpu corei7 -funwind-tables=2 -O3 -Rpass-analysis=stack-frame-layout -debug-info-kind=constructor -dwarf-version=5 -debugger-tuning=gdb -opt-record-file 'C:\_work\llvm-project\llvm-project\build\tools\clang\test\Frontend\Output\stack-layout-remark.c.tmp/stack-layout-remark.c.yml' -opt-record-passes stack-frame-layout
# 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\clang\test\Frontend\stack-layout-remark.c' --check-prefix=O3-DEBUG
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\clang\test\Frontend\stack-layout-remark.c:99:19: error: O3-DEBUG-NEXT: is not on the line after the previous match
# | // O3-DEBUG-NEXT: Offset: [SP-8], Type: Spill, Align: 16, Size: 8
# | ^
# | <stdin>:28:1: note: 'next' match was here
# | Offset: [SP-8], Type: Spill, Align: 16, Size: 8
# | ^
# | <stdin>:21:25: note: previous match ended here
# | Function: cleanup_result
# | ^
# | <stdin>:22:1: note: non-matching line after previous match is here
# | Offset: [SP-8], Type: Spill, Align: 8, Size: 8
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\clang\test\Frontend\stack-layout-remark.c
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 16: C:\_work\llvm-project\llvm-project\clang\test\Frontend\stack-layout-remark.c:100:1: remark:
# | 17: Function: cleanup_array [-Rpass-analysis=stack-frame-layout]
# | 18: 100 | void cleanup_array(struct Array *a) {
# | 19: | ^
# | 20: C:\_work\llvm-project\llvm-project\clang\test\Frontend\stack-layout-remark.c:114:1: remark:
# | 21: Function: cleanup_result
# | next:99'0 { search range start (exclusive)
# | 22: Offset: [SP-8], Type: Spill, Align: 8, Size: 8
# | 23: res @ C:\_work\llvm-project\llvm-project\clang\test\Frontend\stack-layout-remark.c:114 [-Rpass-analysis=stack-frame-layout]
# | 24: 114 | void cleanup_result(struct Result *res) {
# | 25: | ^
# | 26: C:\_work\llvm-project\llvm-project\clang\test\Frontend\stack-layout-remark.c:160:1: remark:
# | 27: Function: do_work
# | 28: Offset: [SP-8], Type: Spill, Align: 16, Size: 8
# | next:99'1 !~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: match on wrong line
# | 29: Offset: [SP-16], Type: Spill, Align: 8, Size: 8
# | 30: B @ C:\_work\llvm-project\llvm-project\clang\test\Frontend\stack-layout-remark.c:160
# | 31: Offset: [SP-24], Type: Spill, Align: 8, Size: 8
# | 32: A @ C:\_work\llvm-project\llvm-project\clang\test\Frontend\stack-layout-remark.c:160
# | 33: Offset: [SP-32], Type: Spill, Align: 8, Size: 8
# | .
# | .
# | .
# | 50: Offset: [SP-24], Type: Spill, Align: 16, Size: 8
# | 51: Offset: [SP-32], Type: Spill, Align: 8, Size: 8
# | 52: Offset: [SP-40], Type: Spill, Align: 16, Size: 8
# | 53: Offset: [SP-48], Type: Spill, Align: 8, Size: 8 [-Rpass-analysis=stack-frame-layout]
# | 54: 285 | int caller() {
# | 55: | ^
# | next:99'2 } 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/239530
More information about the llvm-branch-commits
mailing list