[llvm] [Attributor] Use known non-flat AS before `getAssumedAddrSpace` (PR #143221)

LLVM Continuous Integration via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 9 07:22:15 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/6951

<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 :: Transforms/OpenMP/remove_globalization.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
/home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.build/bin/opt -S -passes=openmp-opt < /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/llvm/test/Transforms/OpenMP/remove_globalization.ll | /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.build/bin/FileCheck /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/llvm/test/Transforms/OpenMP/remove_globalization.ll # RUN: at line 2
+ /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.build/bin/opt -S -passes=openmp-opt
+ /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.build/bin/FileCheck /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/llvm/test/Transforms/OpenMP/remove_globalization.ll
/home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.build/bin/opt: WARNING: failed to create target machine for 'nvptx64': unable to get target for 'nvptx64', see --version and --triple.
/home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/llvm/test/Transforms/OpenMP/remove_globalization.ll:166:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: [[UB_PTR:%.*]] = alloca i32, align 4
              ^
<stdin>:61:31: note: scanning from here
 %iv_ptr = alloca i32, align 4
                              ^
<stdin>:74:2: note: possible intended match here
 %inc = add i32 %iv, 1
 ^

Input file: <stdin>
Check file: /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/llvm/test/Transforms/OpenMP/remove_globalization.ll

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

Input was:
<<<<<<
            .
            .
            .
           56:  
           57: ; Function Attrs: nosync nounwind 
           58: define internal void @convert_and_move_alloca() #1 { 
           59: entry: 
           60:  %.h2s = alloca i8, i64 4, align 4 
           61:  %iv_ptr = alloca i32, align 4 
next:166'0                                   X error: no match found
           62:  br label %initloop 
next:166'0     ~~~~~~~~~~~~~~~~~~~~
           63:  
next:166'0     ~
           64: initloop: ; preds = %entry 
next:166'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~
           65:  store i32 0, ptr %iv_ptr, align 4 
next:166'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           66:  br label %loopbody 
next:166'0     ~~~~~~~~~~~~~~~~~~~~
            .
            .
            .
           69:  %iv = load i32, ptr %iv_ptr, align 4 
...

```

</details>

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


More information about the llvm-commits mailing list