[clang] [llvm] [Clang][AMDGPU] Get correct nullptr value for AS3 and AS5 (PR #175610)
LLVM Continuous Integration via cfe-commits
cfe-commits at lists.llvm.org
Mon Jan 12 16:58:07 PST 2026
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 `clang,llvm` at step 6 "test-build-unified-tree-check-all".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/144/builds/43913
<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 'Clang :: CodeGen/AMDGPU/nullptr-in-different-address-spaces.cpp' FAILED ********************
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 2
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/clang -cc1 -internal-isystem /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/lib/clang/22/include -nostdsysteminc -triple amdgcn-amd-amdhsa -target-cpu gfx900 -O1 -emit-llvm -o - /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/clang/test/CodeGen/AMDGPU/nullptr-in-different-address-spaces.cpp | /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/clang/test/CodeGen/AMDGPU/nullptr-in-different-address-spaces.cpp
# executed command: /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/clang -cc1 -internal-isystem /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/lib/clang/22/include -nostdsysteminc -triple amdgcn-amd-amdhsa -target-cpu gfx900 -O1 -emit-llvm -o - /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/clang/test/CodeGen/AMDGPU/nullptr-in-different-address-spaces.cpp
# note: command had no output on stdout or stderr
# executed command: /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/clang/test/CodeGen/AMDGPU/nullptr-in-different-address-spaces.cpp
# .---command stderr------------
# | [1m/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/clang/test/CodeGen/AMDGPU/nullptr-in-different-address-spaces.cpp:10:16: [0m[0;1;31merror: [0m[1mCHECK-NEXT: expected string not found in input
[0m# | [1m[0m// CHECK-NEXT: [[TMP0:%.*]] = load ptr addrspace(3), ptr addrspace(1) @ptr_as3, align 4
# | [0;1;32m ^
[0m# | [0;1;32m[0m[1m<stdin>:11:7: [0m[0;1;30mnote: [0m[1mscanning from here
[0m# | [1m[0mentry:
# | [0;1;32m ^
[0m# | [0;1;32m[0m[1m<stdin>:12:25: [0m[0;1;30mnote: [0m[1mpossible intended match here
[0m# | [1m[0m %0 = load ptr addrspace(3), ptr addrspacecast (ptr addrspace(1) @ptr_as3 to ptr), align 4
# | [0;1;32m ^
[0m# | [0;1;32m[0m[1m/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/clang/test/CodeGen/AMDGPU/nullptr-in-different-address-spaces.cpp:22:16: [0m[0;1;31merror: [0m[1mCHECK-NEXT: expected string not found in input
[0m# | [1m[0m// CHECK-NEXT: [[TMP0:%.*]] = load ptr addrspace(3), ptr addrspace(1) @ptr_as3, align 4
# | [0;1;32m ^
[0m# | [0;1;32m[0m[1m<stdin>:20:7: [0m[0;1;30mnote: [0m[1mscanning from here
[0m# | [1m[0mentry:
# | [0;1;32m ^
[0m# | [0;1;32m[0m[1m<stdin>:21:25: [0m[0;1;30mnote: [0m[1mpossible intended match here
[0m# | [1m[0m %0 = load ptr addrspace(3), ptr addrspacecast (ptr addrspace(1) @ptr_as3 to ptr), align 4
# | [0;1;32m ^
[0m# | [0;1;32m[0m[1m/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/clang/test/CodeGen/AMDGPU/nullptr-in-different-address-spaces.cpp:35:16: [0m[0;1;31merror: [0m[1mCHECK-NEXT: expected string not found in input
[0m# | [1m[0m// CHECK-NEXT: [[TMP0:%.*]] = load ptr addrspace(5), ptr addrspace(1) @ptr_as5, align 4
# | [0;1;32m ^
[0m# | [0;1;32m[0m[1m<stdin>:29:7: [0m[0;1;30mnote: [0m[1mscanning from here
[0m# | [1m[0mentry:
# | [0;1;32m ^
[0m# | [0;1;32m[0m[1m<stdin>:30:25: [0m[0;1;30mnote: [0m[1mpossible intended match here
[0m# | [1m[0m %0 = load ptr addrspace(5), ptr addrspacecast (ptr addrspace(1) @ptr_as5 to ptr), align 4
# | [0;1;32m ^
[0m# | [0;1;32m[0m[1m/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/clang/test/CodeGen/AMDGPU/nullptr-in-different-address-spaces.cpp:47:16: [0m[0;1;31merror: [0m[1mCHECK-NEXT: expected string not found in input
[0m# | [1m[0m// CHECK-NEXT: [[TMP0:%.*]] = load ptr addrspace(5), ptr addrspace(1) @ptr_as5, align 4
# | [0;1;32m ^
[0m# | [0;1;32m[0m[1m<stdin>:38:7: [0m[0;1;30mnote: [0m[1mscanning from here
[0m# | [1m[0mentry:
# | [0;1;32m ^
[0m# | [0;1;32m[0m[1m<stdin>:39:25: [0m[0;1;30mnote: [0m[1mpossible intended match here
[0m# | [1m[0m %0 = load ptr addrspace(5), ptr addrspacecast (ptr addrspace(1) @ptr_as5 to ptr), align 4
# | [0;1;32m ^
[0m# | [0;1;32m[0m
# | Input file: <stdin>
# | Check file: /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/clang/test/CodeGen/AMDGPU/nullptr-in-different-address-spaces.cpp
...
```
</details>
https://github.com/llvm/llvm-project/pull/175610
More information about the cfe-commits
mailing list