[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:03 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/27180
<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 :: Transforms/OpenMP/spmdization_no_guarding_two_reaching_kernels.ll' FAILED ********************
Exit Code: 1
Command Output (stderr):
--
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/opt -S -passes=openmp-opt < /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/test/Transforms/OpenMP/spmdization_no_guarding_two_reaching_kernels.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/Transforms/OpenMP/spmdization_no_guarding_two_reaching_kernels.ll --check-prefixes=CHECK # RUN: at line 2
+ /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/Transforms/OpenMP/spmdization_no_guarding_two_reaching_kernels.ll --check-prefixes=CHECK
+ /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/opt -S -passes=openmp-opt
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/opt: WARNING: failed to create target machine for 'nvptx64': unable to get target for 'nvptx64', see --version and --triple.
[1m/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/test/Transforms/OpenMP/spmdization_no_guarding_two_reaching_kernels.ll:284:15: [0m[0;1;31merror: [0m[1mCHECK-NEXT: expected string not found in input
[0m; CHECK-NEXT: [[TMP0:%.*]] = addrspacecast ptr [[DOTGLOBAL_TID__ADDR]] to ptr addrspace(5)
[0;1;32m ^
[0m[1m<stdin>:106:41: [0m[0;1;30mnote: [0m[1mscanning from here
[0m %.bound_tid..addr = alloca ptr, align 8
[0;1;32m ^
[0m[1m<stdin>:106:41: [0m[0;1;30mnote: [0m[1mwith "DOTGLOBAL_TID__ADDR" equal to "%\\.global_tid\\.\\.addr"
[0m %.bound_tid..addr = alloca ptr, align 8
[0;1;32m ^
[0m[1m<stdin>:111:4: [0m[0;1;30mnote: [0m[1mpossible intended match here
[0m; Function Attrs: noinline norecurse nounwind
[0;1;32m ^
[0m[1m/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/test/Transforms/OpenMP/spmdization_no_guarding_two_reaching_kernels.ll:317:15: [0m[0;1;31merror: [0m[1mCHECK-NEXT: expected string not found in input
[0m; CHECK-NEXT: [[TMP2:%.*]] = addrspacecast ptr [[DOTADDR]] to ptr addrspace(5)
[0;1;32m ^
[0m[1m<stdin>:117:36: [0m[0;1;30mnote: [0m[1mscanning from here
[0m %global_args = alloca ptr, align 8
[0;1;32m ^
[0m[1m<stdin>:117:36: [0m[0;1;30mnote: [0m[1mwith "DOTADDR" equal to "%\\.addr"
[0m %global_args = alloca ptr, align 8
[0;1;32m ^
[0m[1m<stdin>:119:29: [0m[0;1;30mnote: [0m[1mpossible intended match here
[0m call void @__omp_outlined__(ptr %.addr1, ptr %.zero.addr) #8
[0;1;32m ^
[0m
Input file: <stdin>
Check file: /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/test/Transforms/OpenMP/spmdization_no_guarding_two_reaching_kernels.ll
-dump-input=help explains the following input dump.
Input was:
<<<<<<
[1m[0m[0;1;30m 1: [0m[1m[0;1;46m; ModuleID = '<stdin>' [0m
[0;1;30m 2: [0m[1m[0;1;46msource_filename = "<stdin>" [0m
[0;1;30m 3: [0m[1m[0;1;46mtarget datalayout = "e-i64:64-i128:128-v16:16-v32:32-n16:32:64" [0m
[0;1;30m 4: [0m[1m[0;1;46mtarget triple = "nvptx64" [0m
[0;1;30m 5: [0m[1m[0;1;46m [0m
[0;1;30m 6: [0m[1m[0;1;46m%struct.ident_t = type { i32, i32, i32, i32, ptr } [0m
[0;1;30m 7: [0m[1m[0;1;46m%struct.KernelEnvironmentTy = type { %struct.ConfigurationEnvironmentTy, ptr, ptr } [0m
[0;1;30m 8: [0m[1m[0;1;46m%struct.ConfigurationEnvironmentTy = type { i8, i8, i8, i32, i32, i32, i32, i32, i32 } [0m
[0;1;30m 9: [0m[1m[0;1;46m [0m
...
```
</details>
https://github.com/llvm/llvm-project/pull/143221
More information about the llvm-commits
mailing list