[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:26:15 PST 2025


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `clang-aarch64-quick` running on `linaro-clang-aarch64-quick` while building `llvm` at step 5 "ninja check 1".

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

<details>
<summary>Here is the relevant piece of the build log for the reference</summary>

```
Step 5 (ninja check 1) failure: stage 1 checked (failure)
******************** TEST 'LLVM :: Transforms/LoopVectorize/vectorize-zero-estimated-trip-count.ll' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 5
/home/tcwg-buildbot/worker/clang-aarch64-quick/stage1/bin/opt -passes=loop-vectorize -S /home/tcwg-buildbot/worker/clang-aarch64-quick/llvm/llvm/test/Transforms/LoopVectorize/vectorize-zero-estimated-trip-count.ll | /home/tcwg-buildbot/worker/clang-aarch64-quick/stage1/bin/FileCheck /home/tcwg-buildbot/worker/clang-aarch64-quick/llvm/llvm/test/Transforms/LoopVectorize/vectorize-zero-estimated-trip-count.ll
# executed command: /home/tcwg-buildbot/worker/clang-aarch64-quick/stage1/bin/opt -passes=loop-vectorize -S /home/tcwg-buildbot/worker/clang-aarch64-quick/llvm/llvm/test/Transforms/LoopVectorize/vectorize-zero-estimated-trip-count.ll
# .---command stderr------------
# | /home/tcwg-buildbot/worker/clang-aarch64-quick/stage1/bin/opt: warning: failed to infer data layout: unable to get target for 'x86_64-unknown-linux-gnu', see --version and --triple.
# | /home/tcwg-buildbot/worker/clang-aarch64-quick/stage1/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: /home/tcwg-buildbot/worker/clang-aarch64-quick/stage1/bin/FileCheck /home/tcwg-buildbot/worker/clang-aarch64-quick/llvm/llvm/test/Transforms/LoopVectorize/vectorize-zero-estimated-trip-count.ll
# .---command stderr------------
# | /home/tcwg-buildbot/worker/clang-aarch64-quick/llvm/llvm/test/Transforms/LoopVectorize/vectorize-zero-estimated-trip-count.ll:11:10: error: CHECK: expected string not found in input
# | ; CHECK: vector.memcheck:
# |          ^
# | <stdin>:5:19: note: scanning from here
# | define void @test(ptr addrspace(1) %p, i32 %n) {
# |                   ^
# | <stdin>:9:18: note: possible intended match here
# | outer: ; preds = %outer.latch, %entry
# |                  ^
# | 
# | Input file: <stdin>
# | Check file: /home/tcwg-buildbot/worker/clang-aarch64-quick/llvm/llvm/test/Transforms/LoopVectorize/vectorize-zero-estimated-trip-count.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             1: ; ModuleID = '/home/tcwg-buildbot/worker/clang-aarch64-quick/llvm/llvm/test/Transforms/LoopVectorize/vectorize-zero-estimated-trip-count.ll' 
# |             2: source_filename = "/home/tcwg-buildbot/worker/clang-aarch64-quick/llvm/llvm/test/Transforms/LoopVectorize/vectorize-zero-estimated-trip-count.ll" 
# |             3: target triple = "x86_64-unknown-linux-gnu" 
# |             4:  
# |             5: define void @test(ptr addrspace(1) %p, i32 %n) { 
# | check:11'0                       X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# |             6: entry: 
# | check:11'0     ~~~~~~~
# |             7:  br label %outer 
# | check:11'0     ~~~~~~~~~~~~~~~~~
# |             8:  
# | check:11'0     ~
# |             9: outer: ; preds = %outer.latch, %entry 
# | check:11'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:11'1                      ?                     possible intended match
# |            10:  br label %inner 
# | check:11'0     ~~~~~~~~~~~~~~~~~
# |            11:  
# | check:11'0     ~
...

```

</details>

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


More information about the llvm-commits mailing list