[llvm] [InstrProf] Mark __llvm_profile_runtime_user cold (PR #174174)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 1 19:51:46 PST 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results
* 167560 tests passed
* 2975 tests skipped
* 1 test failed
## Failed Tests
(click on a test name to see its output)
### LLVM
<details>
<summary>LLVM.Instrumentation/InstrProfiling/profiling.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 3
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/opt < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Instrumentation/InstrProfiling/profiling.ll -mtriple=x86_64-apple-macosx10.10.0 -passes=instrprof -S | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Instrumentation/InstrProfiling/profiling.ll --check-prefixes=MACHO
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/opt -mtriple=x86_64-apple-macosx10.10.0 -passes=instrprof -S
# 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/Instrumentation/InstrProfiling/profiling.ll --check-prefixes=MACHO
# note: command had no output on stdout or stderr
# RUN: at line 4
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/opt < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Instrumentation/InstrProfiling/profiling.ll -mtriple=x86_64-unknown-linux -passes=instrprof -S | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Instrumentation/InstrProfiling/profiling.ll --check-prefixes=ELF,ELFRT
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/opt -mtriple=x86_64-unknown-linux -passes=instrprof -S
# 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/Instrumentation/InstrProfiling/profiling.ll --check-prefixes=ELF,ELFRT
# note: command had no output on stdout or stderr
# RUN: at line 5
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/opt < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Instrumentation/InstrProfiling/profiling.ll -mtriple=x86_64-unknown-fuchsia -passes=instrprof -S | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Instrumentation/InstrProfiling/profiling.ll --check-prefixes=ELF,ELFRT
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/opt -mtriple=x86_64-unknown-fuchsia -passes=instrprof -S
# 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/Instrumentation/InstrProfiling/profiling.ll --check-prefixes=ELF,ELFRT
# note: command had no output on stdout or stderr
# RUN: at line 6
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/opt < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Instrumentation/InstrProfiling/profiling.ll -mtriple=x86_64-scei-ps4 -passes=instrprof -S | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Instrumentation/InstrProfiling/profiling.ll --check-prefixes=ELF,PS
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/opt -mtriple=x86_64-scei-ps4 -passes=instrprof -S
# 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/Instrumentation/InstrProfiling/profiling.ll --check-prefixes=ELF,PS
# note: command had no output on stdout or stderr
# RUN: at line 7
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/opt < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Instrumentation/InstrProfiling/profiling.ll -mtriple=x86_64-sie-ps5 -passes=instrprof -S | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Instrumentation/InstrProfiling/profiling.ll --check-prefixes=ELF,PS
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/opt -mtriple=x86_64-sie-ps5 -passes=instrprof -S
# 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/Instrumentation/InstrProfiling/profiling.ll --check-prefixes=ELF,PS
# note: command had no output on stdout or stderr
# RUN: at line 8
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/opt < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Instrumentation/InstrProfiling/profiling.ll -mtriple=x86_64-pc-win32-coff -passes=instrprof -S | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Instrumentation/InstrProfiling/profiling.ll --check-prefixes=COFF
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/opt -mtriple=x86_64-pc-win32-coff -passes=instrprof -S
# 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/Instrumentation/InstrProfiling/profiling.ll --check-prefixes=COFF
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Instrumentation/InstrProfiling/profiling.ll:110:9: error: COFF: expected string not found in input
# | ; COFF: define linkonce_odr hidden i32 @__llvm_profile_runtime_user() {{.*}} comdat {
# | ^
# | <stdin>:22:215: note: scanning from here
# | @llvm.compiler.used = appending global [6 x ptr] [ptr @__llvm_profile_runtime_user, ptr @__profd_foo, ptr @__profd_foo_weak, ptr @"__profd_linkage.ll:foo_internal", ptr @__profd_foo_inline, ptr @__profd_foo_extern], section "llvm.metadata"
# | ^
# | <stdin>:64:1: note: possible intended match here
# | define linkonce_odr hidden i32 @__llvm_profile_runtime_user() #1 comdat !prof !0 {
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Instrumentation/InstrProfiling/profiling.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 17: @__profc_foo_inline = linkonce_odr hidden global [1 x i64] zeroinitializer, section ".lprfc$M", align 8
# | 18: @__profd_foo_inline = private global { i64, i64, i64, i64, ptr, ptr, i32, [3 x i16], i32 } { i64 4426761827065476293, i64 0, i64 sub (i64 ptrtoint (ptr @__profc_foo_inline to i64), i64 ptrtoint (ptr @__profd_foo_inline to i64)), i64 0, ptr null, ptr null, i32 1, [3 x i16] zeroinitializer, i32 0 }, section ".lprfd$M", align 8
# | 19: @__profc_foo_extern = linkonce_odr hidden global [1 x i64] zeroinitializer, section ".lprfc$M", comdat, align 8
# | 20: @__profd_foo_extern = internal global { i64, i64, i64, i64, ptr, ptr, i32, [3 x i16], i32 } { i64 4354304603586216203, i64 0, i64 sub (i64 ptrtoint (ptr @__profc_foo_extern to i64), i64 ptrtoint (ptr @__profd_foo_extern to i64)), i64 0, ptr null, ptr null, i32 1, [3 x i16] zeroinitializer, i32 0 }, section ".lprfd$M", comdat($__profc_foo_extern), align 8
# | 21: @__llvm_prf_nm = private constant [55 x i8] c":5x\DAK\CB\CFgL\CB\CF\8F/OM\CCf\CC\C9\CC\CBNLO\D5\CB\C9\B1\02\89e\E6\95\A4\16\E5%\E60B8@\D9T03\B5\02$\0E\00~\9D\16\0A", section ".lprfn$M", align 1
# | 22: @llvm.compiler.used = appending global [6 x ptr] [ptr @__llvm_profile_runtime_user, ptr @__profd_foo, ptr @__profd_foo_weak, ptr @"__profd_linkage.ll:foo_internal", ptr @__profd_foo_inline, ptr @__profd_foo_extern], section "llvm.metadata"
# | check:110'0 X~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# | 23: @llvm.used = appending global [1 x ptr] [ptr @__llvm_prf_nm], section "llvm.metadata"
# | check:110'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 24:
# | check:110'0 ~
# | 25: define void @foo() {
# | check:110'0 ~~~~~~~~~~~~~~~~~~~~~
# | 26: %pgocount = load i64, ptr @__profc_foo, align 8
# | check:110'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 27: %1 = add i64 %pgocount, 1
# | check:110'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 59:
# | check:110'0 ~
# | 60: ; Function Attrs: nounwind
# | check:110'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 61: declare void @llvm.instrprof.increment(ptr, i64, i32, i32) #0
# | check:110'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 62:
# | check:110'0 ~
# | 63: ; Function Attrs: noinline
# | check:110'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 64: define linkonce_odr hidden i32 @__llvm_profile_runtime_user() #1 comdat !prof !0 {
# | check:110'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:110'1 ? possible intended match
# | 65: %1 = load i32, ptr @__llvm_profile_runtime, align 4
# | check:110'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 66: ret i32 %1
# | check:110'0 ~~~~~~~~~~~~
# | 67: }
# | check:110'0 ~~
# | 68:
# | check:110'0 ~
# | 69: attributes #0 = { nounwind }
# | check:110'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/174174
More information about the llvm-commits
mailing list