[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:33:52 PDT 2025


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `fuchsia-x86_64-linux` running on `fuchsia-debian-64-us-central1-a-1` while building `llvm` at step 4 "annotate".

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

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

```
Step 4 (annotate) failure: 'python ../llvm-zorg/zorg/buildbot/builders/annotated/fuchsia-linux.py ...' (failure)
...
  Passed           : 46134 (97.81%)
  Expectedly Failed:    27 (0.06%)
[1375/1377] Linking CXX executable unittests/tools/llvm-exegesis/LLVMExegesisTests
[1376/1377] Running the LLVM regression tests
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld.lld: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-81uzdue4/bin/ld.lld
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using lld-link: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-81uzdue4/bin/lld-link
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld64.lld: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-81uzdue4/bin/ld64.lld
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using wasm-ld: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-81uzdue4/bin/wasm-ld
-- Testing: 59559 tests, 60 workers --
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80
FAIL: LLVM :: Transforms/OpenMP/remove_globalization.ll (49164 of 59559)
******************** TEST 'LLVM :: Transforms/OpenMP/remove_globalization.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
/var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-81uzdue4/bin/opt -S -passes=openmp-opt < /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/test/Transforms/OpenMP/remove_globalization.ll | /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-81uzdue4/bin/FileCheck /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/test/Transforms/OpenMP/remove_globalization.ll # RUN: at line 2
+ /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-81uzdue4/bin/opt -S -passes=openmp-opt
+ /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-81uzdue4/bin/FileCheck /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/test/Transforms/OpenMP/remove_globalization.ll
/var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-81uzdue4/bin/opt: WARNING: failed to create target machine for 'nvptx64': unable to get target for 'nvptx64', see --version and --triple.
/var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/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: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/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     ~~~~~~~~~~~~~~~~~~~~
Step 7 (check) failure: check (failure)
...
  Passed           : 46134 (97.81%)
  Expectedly Failed:    27 (0.06%)
[1375/1377] Linking CXX executable unittests/tools/llvm-exegesis/LLVMExegesisTests
[1376/1377] Running the LLVM regression tests
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld.lld: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-81uzdue4/bin/ld.lld
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using lld-link: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-81uzdue4/bin/lld-link
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld64.lld: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-81uzdue4/bin/ld64.lld
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using wasm-ld: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-81uzdue4/bin/wasm-ld
-- Testing: 59559 tests, 60 workers --
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80
FAIL: LLVM :: Transforms/OpenMP/remove_globalization.ll (49164 of 59559)
******************** TEST 'LLVM :: Transforms/OpenMP/remove_globalization.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
/var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-81uzdue4/bin/opt -S -passes=openmp-opt < /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/test/Transforms/OpenMP/remove_globalization.ll | /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-81uzdue4/bin/FileCheck /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/test/Transforms/OpenMP/remove_globalization.ll # RUN: at line 2
+ /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-81uzdue4/bin/opt -S -passes=openmp-opt
+ /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-81uzdue4/bin/FileCheck /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/test/Transforms/OpenMP/remove_globalization.ll
/var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-81uzdue4/bin/opt: WARNING: failed to create target machine for 'nvptx64': unable to get target for 'nvptx64', see --version and --triple.
/var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/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: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/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     ~~~~~~~~~~~~~~~~~~~~

```

</details>

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


More information about the llvm-commits mailing list