[llvm] InstrProf: Mark BiasLI as invariant. (PR #95588)

LLVM Continuous Integration via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 19 19:22:13 PDT 2024


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `llvm-clang-win-x-aarch64` running on `as-builder-2` while building `llvm` at step 8 "test-check-llvm".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/193/builds/1141

Here is the relevant piece of the build log for the reference:
```
Step 8 (test-check-llvm) failure: Test just built components for check-llvm completed (failure)
******************** TEST 'LLVM :: Instrumentation/InstrProfiling/runtime-counter-relocation.ll' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
c:\buildbot\as-builder-2\x-aarch64\build\bin\opt.exe < C:\buildbot\as-builder-2\x-aarch64\llvm-project\llvm\test\Instrumentation\InstrProfiling\runtime-counter-relocation.ll -S -passes=instrprof | c:\buildbot\as-builder-2\x-aarch64\build\bin\filecheck.exe C:\buildbot\as-builder-2\x-aarch64\llvm-project\llvm\test\Instrumentation\InstrProfiling\runtime-counter-relocation.ll
# executed command: 'c:\buildbot\as-builder-2\x-aarch64\build\bin\opt.exe' -S -passes=instrprof
# .---command stderr------------
# | c:\buildbot\as-builder-2\x-aarch64\build\bin\opt.exe: warning: failed to infer data layout: unable to get target for 'x86_64-unknown-linux-gnu', see --version and --triple.
# | c:\buildbot\as-builder-2\x-aarch64\build\bin\opt.exe: 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.
# `-----------------------------
# executed command: 'c:\buildbot\as-builder-2\x-aarch64\build\bin\filecheck.exe' 'C:\buildbot\as-builder-2\x-aarch64\llvm-project\llvm\test\Instrumentation\InstrProfiling\runtime-counter-relocation.ll'
# RUN: at line 2
c:\buildbot\as-builder-2\x-aarch64\build\bin\opt.exe < C:\buildbot\as-builder-2\x-aarch64\llvm-project\llvm\test\Instrumentation\InstrProfiling\runtime-counter-relocation.ll -S -passes=instrprof -runtime-counter-relocation | c:\buildbot\as-builder-2\x-aarch64\build\bin\filecheck.exe -check-prefixes=RELOC C:\buildbot\as-builder-2\x-aarch64\llvm-project\llvm\test\Instrumentation\InstrProfiling\runtime-counter-relocation.ll
# executed command: 'c:\buildbot\as-builder-2\x-aarch64\build\bin\opt.exe' -S -passes=instrprof -runtime-counter-relocation
# .---command stderr------------
# | c:\buildbot\as-builder-2\x-aarch64\build\bin\opt.exe: warning: failed to infer data layout: unable to get target for 'x86_64-unknown-linux-gnu', see --version and --triple.
# | c:\buildbot\as-builder-2\x-aarch64\build\bin\opt.exe: 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.
# `-----------------------------
# executed command: 'c:\buildbot\as-builder-2\x-aarch64\build\bin\filecheck.exe' -check-prefixes=RELOC 'C:\buildbot\as-builder-2\x-aarch64\llvm-project\llvm\test\Instrumentation\InstrProfiling\runtime-counter-relocation.ll'
# .---command stderr------------
# | C:\buildbot\as-builder-2\x-aarch64\llvm-project\llvm\test\Instrumentation\InstrProfiling\runtime-counter-relocation.ll:19:15: error: RELOC-NEXT: expected string not found in input
# | ; RELOC-NEXT: %[[BIAS:.+]] = load i64, ptr @__llvm_profile_counter_bias, align 8, !invariant.load !0
# |               ^
# | <stdin>:30:17: note: scanning from here
# | define void @foo() {
# |                 ^
# | <stdin>:31:8: note: possible intended match here
# |  %profc_bias = load i64, ptr @__llvm_profile_counter_bias, align 4, !invariant.load !0
# |        ^
# | 
# | Input file: <stdin>
# | Check file: C:\buildbot\as-builder-2\x-aarch64\llvm-project\llvm\test\Instrumentation\InstrProfiling\runtime-counter-relocation.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |            .
# |            .
# |            .
# |           25:  %3 = add i64 %pgocount, 1 
# |           26:  store i64 %3, ptr %2, align 4 
# |           27:  ret void 
# |           28: } 
# |           29:  
# |           30: define void @foo() { 
# | next:19'0                     X~~~~ error: no match found
# |           31:  %profc_bias = load i64, ptr @__llvm_profile_counter_bias, align 4, !invariant.load !0 
...

```

https://github.com/llvm/llvm-project/pull/95588


More information about the llvm-commits mailing list