[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:36:38 PDT 2025


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `openmp-offload-amdgpu-runtime-2` running on `rocm-worker-hw-02` while building `llvm` at step 8 "Add check check-llvm".

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

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

```
Step 8 (Add check check-llvm) failure: test (failure)
******************** TEST 'LLVM :: Analysis/NVPTXAA/NVPTXAA_before_BasicAA.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
/home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.build/bin/opt -aa-pipeline=default -passes='require<aa>' -debug-pass-manager -disable-output -S < /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/llvm/test/Analysis/NVPTXAA/NVPTXAA_before_BasicAA.ll 2>&1 | /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.build/bin/FileCheck /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/llvm/test/Analysis/NVPTXAA/NVPTXAA_before_BasicAA.ll # RUN: at line 2
+ /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.build/bin/opt -aa-pipeline=default '-passes=require<aa>' -debug-pass-manager -disable-output -S
+ /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.build/bin/FileCheck /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/llvm/test/Analysis/NVPTXAA/NVPTXAA_before_BasicAA.ll
/home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/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
/home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.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: /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/llvm/test/Analysis/NVPTXAA/NVPTXAA_before_BasicAA.ll

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

Input was:
<<<<<<
           1: /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.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: /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.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<llvm::AnalysisManager<llvm::Function>, llvm::Module> on [module] 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           4: Running pass: RequireAnalysisPass<llvm::AAManager, llvm::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