[llvm] [LAA] Use MaxStride instead of CommonStride to calculate MaxVF (PR #98142)

LLVM Continuous Integration via llvm-commits llvm-commits at lists.llvm.org
Wed May 7 13:09:36 PDT 2025


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `llvm-clang-x86_64-sie-ubuntu-fast` running on `sie-linux-worker` while building `llvm` at step 6 "test-build-unified-tree-check-all".

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

<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 :: Analysis/LoopAccessAnalysis/different-strides-safe-dep-due-to-backedge-taken-count.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/opt -passes='print<access-info>' -disable-output /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/test/Analysis/LoopAccessAnalysis/different-strides-safe-dep-due-to-backedge-taken-count.ll 2>&1 | /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/FileCheck /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/test/Analysis/LoopAccessAnalysis/different-strides-safe-dep-due-to-backedge-taken-count.ll # RUN: at line 2
+ /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/opt '-passes=print<access-info>' -disable-output /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/test/Analysis/LoopAccessAnalysis/different-strides-safe-dep-due-to-backedge-taken-count.ll
+ /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/FileCheck /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/test/Analysis/LoopAccessAnalysis/different-strides-safe-dep-due-to-backedge-taken-count.ll
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/test/Analysis/LoopAccessAnalysis/different-strides-safe-dep-due-to-backedge-taken-count.ll:112:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: Report: unsafe dependent memory operations in loop. Use #pragma clang loop distribute(enable) to allow loop distribution to attempt to isolate the offending operations into a separate loop
              ^
<stdin>:39:7: note: scanning from here
 loop:
      ^

Input file: <stdin>
Check file: /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/test/Analysis/LoopAccessAnalysis/different-strides-safe-dep-due-to-backedge-taken-count.ll

-dump-input=help explains the following input dump.

Input was:
<<<<<<
             1: Printing analysis 'Loop Access Analysis' for function 'forward_dep_known_safe_due_to_backedge_taken_count': 
label:7'0                                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
label:7'1                                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
             2:  loop: 
next:8           ^~~~~
             3:  Memory dependences are safe 
next:9           ^~~~~~~~~~~~~~~~~~~~~~~~~~~
             4:  Dependences: 
next:10          ^~~~~~~~~~~~
             5:  Run-time memory checks: 
next:11          ^~~~~~~~~~~~~~~~~~~~~~~
             6:  Grouped accesses: 
next:12          ^~~~~~~~~~~~~~~~~
             7:  
empty:13        ^
             8:  Non vectorizable stores to invariant address were not found in loop. 
next:14          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
             9:  SCEV assumptions: 
next:15          ^~~~~~~~~~~~~~~~~
            10:  
empty:16        ^
            11:  Expressions re-written: 
next:17          ^~~~~~~~~~~~~~~~~~~~~~~
            12: Printing analysis 'Loop Access Analysis' for function 'forward_dep_not_known_safe_due_to_backedge_taken_count': 
label:40'0                                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
label:40'1                                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
            13:  loop: 
next:41          ^~~~~
...

```

</details>

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


More information about the llvm-commits mailing list