[clang] [llvm] [clang][Inliner] Add opt-in inliner hints and implementation-file functions (PR #228074)
via cfe-commits
cfe-commits at lists.llvm.org
Mon Oct 5 19:06:02 PDT 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results
* 143388 tests passed
* 3444 tests skipped
* 1 test failed
## Failed Tests
(click on a test name to see its output)
### Clang
<details>
<summary>Clang.CodeGenCXX/frontend-hint-likely-module-local.cpp</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
rm -rf C:\_work\llvm-project\llvm-project\build\tools\clang\test\CodeGenCXX\Output\frontend-hint-likely-module-local.cpp.tmp
# executed command: rm -rf 'C:\_work\llvm-project\llvm-project\build\tools\clang\test\CodeGenCXX\Output\frontend-hint-likely-module-local.cpp.tmp'
# note: command had no output on stdout or stderr
# RUN: at line 2
split-file C:\_work\llvm-project\llvm-project\clang\test\CodeGenCXX\frontend-hint-likely-module-local.cpp C:\_work\llvm-project\llvm-project\build\tools\clang\test\CodeGenCXX\Output\frontend-hint-likely-module-local.cpp.tmp
# executed command: split-file 'C:\_work\llvm-project\llvm-project\clang\test\CodeGenCXX\frontend-hint-likely-module-local.cpp' 'C:\_work\llvm-project\llvm-project\build\tools\clang\test\CodeGenCXX\Output\frontend-hint-likely-module-local.cpp.tmp'
# note: command had no output on stdout or stderr
# RUN: at line 3
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 -triple arm64-apple-macosx14.0.0 -std=c++20 -emit-llvm -mllvm -clang-emit-module-local-hints -o C:\_work\llvm-project\llvm-project\build\tools\clang\test\CodeGenCXX\Output\frontend-hint-likely-module-local.cpp.tmp/on.ll C:\_work\llvm-project\llvm-project\build\tools\clang\test\CodeGenCXX\Output\frontend-hint-likely-module-local.cpp.tmp/main.cpp
# 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 -triple arm64-apple-macosx14.0.0 -std=c++20 -emit-llvm -mllvm -clang-emit-module-local-hints -o 'C:\_work\llvm-project\llvm-project\build\tools\clang\test\CodeGenCXX\Output\frontend-hint-likely-module-local.cpp.tmp/on.ll' 'C:\_work\llvm-project\llvm-project\build\tools\clang\test\CodeGenCXX\Output\frontend-hint-likely-module-local.cpp.tmp/main.cpp'
# note: command had no output on stdout or stderr
# RUN: at line 4
c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\clang\test\CodeGenCXX\frontend-hint-likely-module-local.cpp < C:\_work\llvm-project\llvm-project\build\tools\clang\test\CodeGenCXX\Output\frontend-hint-likely-module-local.cpp.tmp/on.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_work\llvm-project\llvm-project\clang\test\CodeGenCXX\frontend-hint-likely-module-local.cpp'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\clang\test\CodeGenCXX\frontend-hint-likely-module-local.cpp:33:15: error: CHECK-DAG: expected string not found in input
# | // CHECK-DAG: attributes #[[TMPL]] = { {{.*}}"frontend-hint-likely-module-local"{{.*}} }
# | ^
# | <stdin>:113:155: note: scanning from here
# | attributes #1 = { mustprogress noinline nounwind optnone "frontend-hint-likely-module-local" "no-trapping-math"="true" "stack-protector-buffer-size"="8" }
# | ^
# | <stdin>:113:155: note: with "TMPL" equal to "1"
# | attributes #1 = { mustprogress noinline nounwind optnone "frontend-hint-likely-module-local" "no-trapping-math"="true" "stack-protector-buffer-size"="8" }
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\clang\test\CodeGenCXX\frontend-hint-likely-module-local.cpp
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 108: %mul = mul nsw i32 %2, 2
# | 109: ret i32 %mul
# | 110: }
# | 111:
# | 112: attributes #0 = { mustprogress noinline nounwind optnone "no-trapping-math"="true" "stack-protector-buffer-size"="8" }
# | 113: attributes #1 = { mustprogress noinline nounwind optnone "frontend-hint-likely-module-local" "no-trapping-math"="true" "stack-protector-buffer-size"="8" }
# | dag:33'0 { search range start (exclusive)
# | dag:33'1 error: no match found in search range
# | dag:33'2 with "TMPL" equal to "1"
# | 114:
# | 115: !llvm.ident = !{!0}
# | 116:
# | 117: !0 = !{!"clang version 24.0.0git (https://github.com/llvm/llvm-project e1a760296fddfd1aec80014b43153807342c5a79)"}
# | 118: !1 = !{}
# | 119: !2 = !{i64 4}
# | dag:33'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/228074
More information about the cfe-commits
mailing list