[llvm] InstrProf: Mark BiasLI as invariant. (PR #95588)
LLVM Continuous Integration via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 19 19:00:13 PDT 2024
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `llvm-clang-aarch64-darwin` running on `doug-worker-5` while building `llvm` at step 6 "test-build-unified-tree-check-all".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/190/builds/2237
Here is the relevant piece of the build log for the reference:
```
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'LLVM :: Instrumentation/InstrProfiling/runtime-counter-relocation.ll' FAILED ********************
Exit Code: 1
Command Output (stderr):
--
RUN: at line 1: /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/opt < /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/llvm/test/Instrumentation/InstrProfiling/runtime-counter-relocation.ll -S -passes=instrprof | /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/FileCheck /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/llvm/test/Instrumentation/InstrProfiling/runtime-counter-relocation.ll
+ /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/FileCheck /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/llvm/test/Instrumentation/InstrProfiling/runtime-counter-relocation.ll
+ /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/opt -S -passes=instrprof
/Users/buildbot/buildbot-root/aarch64-darwin/build/bin/opt: warning: failed to infer data layout: unable to get target for 'x86_64-unknown-linux-gnu', see --version and --triple.
/Users/buildbot/buildbot-root/aarch64-darwin/build/bin/opt: WARNING: failed to create target machine for 'x86_64-unknown-linux-gnu': unable to get target for 'x86_64-unknown-linux-gnu', see --version and --triple.
RUN: at line 2: /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/opt < /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/llvm/test/Instrumentation/InstrProfiling/runtime-counter-relocation.ll -S -passes=instrprof -runtime-counter-relocation | /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/FileCheck -check-prefixes=RELOC /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/llvm/test/Instrumentation/InstrProfiling/runtime-counter-relocation.ll
+ /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/opt -S -passes=instrprof -runtime-counter-relocation
+ /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/FileCheck -check-prefixes=RELOC /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/llvm/test/Instrumentation/InstrProfiling/runtime-counter-relocation.ll
/Users/buildbot/buildbot-root/aarch64-darwin/build/bin/opt: warning: failed to infer data layout: unable to get target for 'x86_64-unknown-linux-gnu', see --version and --triple.
/Users/buildbot/buildbot-root/aarch64-darwin/build/bin/opt: WARNING: failed to create target machine for 'x86_64-unknown-linux-gnu': unable to get target for 'x86_64-unknown-linux-gnu', see --version and --triple.
[1m/Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/llvm/test/Instrumentation/InstrProfiling/runtime-counter-relocation.ll:19:15: [0m[0;1;31merror: [0m[1mRELOC-NEXT: expected string not found in input
[0m; RELOC-NEXT: %[[BIAS:.+]] = load i64, ptr @__llvm_profile_counter_bias, align 8, !invariant.load !0
[0;1;32m ^
[0m[1m<stdin>:30:17: [0m[0;1;30mnote: [0m[1mscanning from here
[0mdefine void @foo() {
[0;1;32m ^
[0m[1m<stdin>:31:8: [0m[0;1;30mnote: [0m[1mpossible intended match here
[0m %profc_bias = load i64, ptr @__llvm_profile_counter_bias, align 4, !invariant.load !0
[0;1;32m ^
[0m
Input file: <stdin>
Check file: /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/llvm/test/Instrumentation/InstrProfiling/runtime-counter-relocation.ll
-dump-input=help explains the following input dump.
Input was:
<<<<<<
[1m[0m[0;1;30m 1: [0m[1m[0;1;46m; ModuleID = '<stdin>' [0m
[0;1;30m 2: [0m[1m[0;1;46msource_filename = "<stdin>" [0m
[0;1;30m 3: [0m[1m[0;1;46mtarget triple = "x86_64-unknown-linux-gnu" [0m
[0;1;30m 4: [0m[1m[0;1;46m [0m
[0;1;30m 5: [0m[1m[0;1;46m$__profc_bar = comdat nodeduplicate [0m
[0;1;30m 6: [0m[1m[0;1;46m [0m
[0;1;30m 7: [0m[1m[0;1;46m$__profc_foo = comdat nodeduplicate [0m
[0;1;30m 8: [0m[1m[0;1;46m [0m
[0;1;30m 9: [0m[1m[0;1;46m[0m$__llvm_profile_counter_bias = comdat any[0;1;46m [0m
[0;1;32mcheck:11 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[0m[0;1;30m 10: [0m[1m[0;1;46m [0m
[0;1;30m 11: [0m[1m[0;1;46m at __profc_bar = private global [1 x i64] zeroinitializer, section "__llvm_prf_cnts", comdat, align 8 [0m
[0;1;30m 12: [0m[1m[0;1;46m at __profd_bar = private global { i64, i64, i64, i64, ptr, ptr, i32, [3 x i16], i32 } { i64 -2012135647395072713, i64 0, i64 sub (i64 ptrtoint (ptr @__profc_bar to i64), i64 ptrtoint (ptr @__profd_bar to i64)), i64 0, ptr null, ptr null, i32 1, [3 x i16] zeroinitializer, i32 0 }, section "__llvm_prf_data", comdat($__profc_bar), align 8 [0m
[0;1;30m 13: [0m[1m[0;1;46m at __profc_foo = private global [1 x i64] zeroinitializer, section "__llvm_prf_cnts", comdat, align 8 [0m
[0;1;30m 14: [0m[1m[0;1;46m at __profd_foo = private global { i64, i64, i64, i64, ptr, ptr, i32, [3 x i16], i32 } { i64 6699318081062747564, i64 0, i64 sub (i64 ptrtoint (ptr @__profc_foo to i64), i64 ptrtoint (ptr @__profd_foo to i64)), i64 0, ptr null, ptr null, i32 1, [3 x i16] zeroinitializer, i32 0 }, section "__llvm_prf_data", comdat($__profc_foo), align 8 [0m
[0;1;30m 15: [0m[1m[0;1;46m[0m at __llvm_profile_counter_bias = linkonce_odr hidden global i64 0, comdat[0;1;46m [0m
[0;1;32mcheck:12 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[0m[0;1;30m 16: [0m[1m[0;1;46m at __llvm_prf_nm = private constant [17 x i8] c"\07\0Fx\DAKJ,bL\CB\CF\07\00\09\B8\02{", section "__llvm_prf_names", align 1 [0m
...
```
https://github.com/llvm/llvm-project/pull/95588
More information about the llvm-commits
mailing list