[llvm] [PGO] Fix zeroed estimated trip count (PR #167792)
LLVM Continuous Integration via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 25 08:16:34 PST 2025
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `llvm-clang-aarch64-darwin` running on `doug-worker-4` 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/31638
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'LLVM :: Transforms/LoopVectorize/vectorize-zero-estimated-trip-count.ll' FAILED ********************
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 5
/Volumes/RAMDisk/buildbot-root/aarch64-darwin/build/bin/opt -passes=loop-vectorize -S /Users/buildbot/buildbot-root/llvm-project/llvm/test/Transforms/LoopVectorize/vectorize-zero-estimated-trip-count.ll | /Volumes/RAMDisk/buildbot-root/aarch64-darwin/build/bin/FileCheck /Users/buildbot/buildbot-root/llvm-project/llvm/test/Transforms/LoopVectorize/vectorize-zero-estimated-trip-count.ll
# executed command: /Volumes/RAMDisk/buildbot-root/aarch64-darwin/build/bin/opt -passes=loop-vectorize -S /Users/buildbot/buildbot-root/llvm-project/llvm/test/Transforms/LoopVectorize/vectorize-zero-estimated-trip-count.ll
# .---command stderr------------
# | /Volumes/RAMDisk/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.
# | /Volumes/RAMDisk/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.
# `-----------------------------
# executed command: /Volumes/RAMDisk/buildbot-root/aarch64-darwin/build/bin/FileCheck /Users/buildbot/buildbot-root/llvm-project/llvm/test/Transforms/LoopVectorize/vectorize-zero-estimated-trip-count.ll
# .---command stderr------------
# | [1m/Users/buildbot/buildbot-root/llvm-project/llvm/test/Transforms/LoopVectorize/vectorize-zero-estimated-trip-count.ll:11:10: [0m[0;1;31merror: [0m[1mCHECK: expected string not found in input
[0m# | [1m[0m; CHECK: vector.memcheck:
# | [0;1;32m ^
[0m# | [0;1;32m[0m[1m<stdin>:5:19: [0m[0;1;30mnote: [0m[1mscanning from here
[0m# | [1m[0mdefine void @test(ptr addrspace(1) %p, i32 %n) {
# | [0;1;32m ^
[0m# | [0;1;32m[0m[1m<stdin>:9:18: [0m[0;1;30mnote: [0m[1mpossible intended match here
[0m# | [1m[0mouter: ; preds = %outer.latch, %entry
# | [0;1;32m ^
[0m# | [0;1;32m[0m
# | Input file: <stdin>
# | Check file: /Users/buildbot/buildbot-root/llvm-project/llvm/test/Transforms/LoopVectorize/vectorize-zero-estimated-trip-count.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | [1m[0m[0;1;30m 1: [0m[1m[0;1;46m; ModuleID = '/Users/buildbot/buildbot-root/llvm-project/llvm/test/Transforms/LoopVectorize/vectorize-zero-estimated-trip-count.ll' [0m
# | [0;1;30m 2: [0m[1m[0;1;46msource_filename = "/Users/buildbot/buildbot-root/llvm-project/llvm/test/Transforms/LoopVectorize/vectorize-zero-estimated-trip-count.ll" [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;46mdefine void [0m at test([0;1;46mptr addrspace(1) %p, i32 %n) { [0m
# | [0;1;32mcheck:10 ^~~~~~
[0m# | [0;1;32m[0m[0;1;31mcheck:11'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
[0m# | [0;1;31m[0m[0;1;30m 6: [0m[1m[0;1;46mentry: [0m
# | [0;1;31mcheck:11'0 ~~~~~~~
[0m# | [0;1;31m[0m[0;1;30m 7: [0m[1m[0;1;46m br label %outer [0m
# | [0;1;31mcheck:11'0 ~~~~~~~~~~~~~~~~~
[0m# | [0;1;31m[0m[0;1;30m 8: [0m[1m[0;1;46m [0m
# | [0;1;31mcheck:11'0 ~
[0m# | [0;1;31m[0m[0;1;30m 9: [0m[1m[0;1;46mouter: ; preds = %outer.latch, %entry [0m
# | [0;1;31mcheck:11'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[0m# | [0;1;31m[0m[0;1;35mcheck:11'1 ? possible intended match
[0m# | [0;1;35m[0m[0;1;30m 10: [0m[1m[0;1;46m br label %inner [0m
# | [0;1;31mcheck:11'0 ~~~~~~~~~~~~~~~~~
[0m# | [0;1;31m[0m[0;1;30m 11: [0m[1m[0;1;46m [0m
...
```
</details>
https://github.com/llvm/llvm-project/pull/167792
More information about the llvm-commits
mailing list