[llvm] [AMDGPU] Make `getAssumedAddrSpace` return AS1 for pointer kernel arguments (PR #137488)
LLVM Continuous Integration via llvm-commits
llvm-commits at lists.llvm.org
Fri May 30 14:36:29 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/26513
<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_guarding.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_guarding.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_guarding.ll # RUN: at line 2
+ /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/FileCheck /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/test/Transforms/OpenMP/spmdization_guarding.ll
/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_guarding.ll:88:15: [0m[0;1;31merror: [0m[1mCHECK-NEXT: expected string not found in input
[0m; CHECK-NEXT: [[TMP4:%.*]] = addrspacecast ptr [[ARRAYIDX1_I]] to ptr addrspace(1)
[0;1;32m ^
[0m[1m<stdin>:44:43: [0m[0;1;30mnote: [0m[1mscanning from here
[0m store i32 0, ptr %x, align 4, !noalias !7
[0;1;32m ^
[0m[1m<stdin>:44:43: [0m[0;1;30mnote: [0m[1mwith "ARRAYIDX1_I" equal to "%arrayidx1\\.i"
[0m store i32 0, ptr %x, align 4, !noalias !7
[0;1;32m ^
[0m[1m<stdin>:62:23: [0m[0;1;30mnote: [0m[1mpossible intended match here
[0m %sub.i = add nsw i32 %N.addr.sroa.0.0.extract.trunc, -1
[0;1;32m ^
[0m[1m/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/test/Transforms/OpenMP/spmdization_guarding.ll:444:24: [0m[0;1;31merror: [0m[1mundefined variable: ATTR9
[0m; CHECK: attributes #[[ATTR9]] = { nounwind willreturn "llvm.assume"="omp_no_openmp,ompx_spmd_amenable" }
[0;1;32m ^
[0m[1m<stdin>:226:1: [0m[0;1;30mnote: [0m[1mpossible intended match here
[0mattributes #9 = { nounwind willreturn "llvm.assume"="omp_no_openmp,ompx_spmd_amenable" }
[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_guarding.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
[0;1;30m 10: [0m[1m[0;1;46m[0m at 0 = private unnamed_addr constant [23 x i8] c"[0;1;46m;unknown;unknown;0;0;;\00", align 1 [0m
[0;1;32mcheck:49'0 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[0m[0;1;32mcheck:49'1 ^ captured var "GLOB0"
[0m[0;1;30m 11: [0m[1m[0;1;46m[0m at 1 = private unnamed_addr constant %struct.ident_t { i32 0, i32 2, i32 0, i32 0, ptr @0 }, align 8[0;1;46m [0m
[0;1;32mcheck:50'0 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[0m[0;1;32mcheck:50'1 with "GLOB0" equal to "0"
...
```
</details>
https://github.com/llvm/llvm-project/pull/137488
More information about the llvm-commits
mailing list