[llvm] AMDGPU: Set the addrspacecast nonnull flag instead of the intrinsic (PR #220927)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 8 03:50:43 PDT 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results
* 152734 tests passed
* 3268 tests skipped
* 1 test failed
## Failed Tests
(click on a test name to see its output)
### Clang
<details>
<summary>Clang.CodeGenCUDA/fp-contract.cu</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 14
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/24/include -nostdsysteminc -fcuda-is-device -triple nvptx-nvidia-cuda -S -disable-llvm-passes -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenCUDA/fp-contract.cu | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefixes=COMMON,NV-ON /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenCUDA/fp-contract.cu
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/24/include -nostdsysteminc -fcuda-is-device -triple nvptx-nvidia-cuda -S -disable-llvm-passes -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenCUDA/fp-contract.cu
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefixes=COMMON,NV-ON /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenCUDA/fp-contract.cu
# note: command had no output on stdout or stderr
# RUN: at line 17
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/24/include -nostdsysteminc -fcuda-is-device -triple amdgpu9.06-amd-amdhsa -S -O1 -disable-llvm-passes -o - -x hip /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenCUDA/fp-contract.cu | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefixes=COMMON,AMD-ON /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenCUDA/fp-contract.cu
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/24/include -nostdsysteminc -fcuda-is-device -triple amdgpu9.06-amd-amdhsa -S -O1 -disable-llvm-passes -o - -x hip /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenCUDA/fp-contract.cu
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefixes=COMMON,AMD-ON /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenCUDA/fp-contract.cu
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenCUDA/fp-contract.cu:184:17: error: AMD-ON-NEXT: is not on the line after the previous match
# | // AMD-ON-NEXT: s_setpc_b64
# | ^
# | <stdin>:26:2: note: 'next' match was here
# | s_setpc_b64 s[30:31]
# | ^
# | <stdin>:24:16: note: previous match ended here
# | v_fmac_f32_e32 v0, v1, v2
# | ^
# | <stdin>:25:1: note: non-matching line after previous match is here
# | s_waitcnt vmcnt(0) lgkmcnt(0)
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenCUDA/fp-contract.cu
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 19: v_add_u32_e32 v7, 8, v7
# | 20: v_mov_b32_e32 v8, s5
# | 21: flat_store_dword v[3:4], v0
# | 22: flat_store_dword v[5:6], v1
# | 23: flat_store_dword v[7:8], v2
# | 24: v_fmac_f32_e32 v0, v1, v2
# | next:184'0 { search range start (exclusive)
# | 25: s_waitcnt vmcnt(0) lgkmcnt(0)
# | 26: s_setpc_b64 s[30:31]
# | next:184'1 !~~~~~~~~~~ error: match on wrong line
# | 27: .Lfunc_end0:
# | 28: .size _Z4funcfff, .Lfunc_end0-_Z4funcfff
# | 29: .size .L_Z4funcfff$local, .Lfunc_end0-_Z4funcfff
# | 30: ; -- End function
# | 31: .set .L_Z4funcfff.num_vgpr, 9
# | .
# | .
# | .
# | 44: ; TotalNumSgprs: 37
# | 45: ; NumVgprs: 9
# | 46: ; ScratchSize: 16
# | 47: ; MemoryBound: 0
# | 48: .text
# | 49: .globl _Z5func2fff ; -- Begin function _Z5func2fff
# | next:184'2 } search range end (exclusive)
# | 50: .p2align 6
# | 51: .type _Z5func2fff, at function
# | 52: _Z5func2fff: ; @_Z5func2fff
# | 53: .L_Z5func2fff$local:
# | 54: .type .L_Z5func2fff$local, at function
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
If these failures are unrelated to your changes (for example tests are broken or flaky at HEAD), please open an issue at https://github.com/llvm/llvm-project/issues and add the `infrastructure` label.
https://github.com/llvm/llvm-project/pull/220927
More information about the llvm-commits
mailing list