[llvm] [AA] Move Target Specific AA before BasicAA (PR #125965)

LLVM Continuous Integration via llvm-commits llvm-commits at lists.llvm.org
Wed May 7 15:56:54 PDT 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/19629

<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/NVPTXAA/NVPTXAA_before_BasicAA.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
/Users/buildbot/buildbot-root/aarch64-darwin/build/bin/opt -aa-pipeline=default -passes='require<aa>' -debug-pass-manager -disable-output -S < /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/llvm/test/Analysis/NVPTXAA/NVPTXAA_before_BasicAA.ll 2>&1 | /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/FileCheck /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/llvm/test/Analysis/NVPTXAA/NVPTXAA_before_BasicAA.ll # RUN: at line 2
+ /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/opt -aa-pipeline=default '-passes=require<aa>' -debug-pass-manager -disable-output -S
+ /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/FileCheck /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/llvm/test/Analysis/NVPTXAA/NVPTXAA_before_BasicAA.ll
/Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/llvm/test/Analysis/NVPTXAA/NVPTXAA_before_BasicAA.ll:8:10: error: CHECK: expected string not found in input
; CHECK: Running analysis: NVPTXAA on foo
         ^
<stdin>:1:1: note: scanning from here
/Users/buildbot/buildbot-root/aarch64-darwin/build/bin/opt: warning: failed to infer data layout: unable to get target for 'nvptx64-nvidia-cuda', see --version and --triple.
^
<stdin>:7:1: note: possible intended match here
Running analysis: BasicAA on foo
^

Input file: <stdin>
Check file: /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/llvm/test/Analysis/NVPTXAA/NVPTXAA_before_BasicAA.ll

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

Input was:
<<<<<<
           1: /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/opt: warning: failed to infer data layout: unable to get target for 'nvptx64-nvidia-cuda', see --version and --triple. 
check:8'0     X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
           2: /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/opt: WARNING: failed to create target machine for 'nvptx64-nvidia-cuda': unable to get target for 'nvptx64-nvidia-cuda', see --version and --triple. 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           3: Running analysis: InnerAnalysisManagerProxy<FunctionAnalysisManager, Module> on [module] 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           4: Running pass: RequireAnalysisPass<llvm::AAManager, llvm::Function, llvm::AnalysisManager<Function>> on foo (1 instruction) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           5: Running analysis: AAManager on foo 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           6: Running analysis: TargetLibraryAnalysis on foo 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           7: Running analysis: BasicAA on foo 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
check:8'1     ?                                 possible intended match
           8: Running analysis: AssumptionAnalysis on foo 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           9: Running analysis: TargetIRAnalysis on foo 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          10: Running analysis: DominatorTreeAnalysis on foo 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          11: Running analysis: ScopedNoAliasAA on foo 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          12: Running analysis: TypeBasedAA on foo 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...

```

</details>

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


More information about the llvm-commits mailing list