[clang] [Clang][AMDGPU] Name the builtin in required target feature diagnostics (PR #218358)
via cfe-commits
cfe-commits at lists.llvm.org
Sun Nov 15 22:31:30 PST 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results
* 59534 tests passed
* 562 tests skipped
* 1 test failed
## Failed Tests
(click on a test name to see its output)
### Clang
<details>
<summary>Clang.SemaOpenCL/builtins-image-feature-guarded.cl</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
c:\_work\llvm-project\llvm-project\build\bin\clang.exe -cc1 -internal-isystem C:\_work\llvm-project\llvm-project\build\lib\clang\24\include -nostdsysteminc -triple amdgpu9.42-- -S -verify -o - C:\_work\llvm-project\llvm-project\clang\test\SemaOpenCL\builtins-image-feature-guarded.cl
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe' -cc1 -internal-isystem 'C:\_work\llvm-project\llvm-project\build\lib\clang\24\include' -nostdsysteminc -triple amdgpu9.42-- -S -verify -o - 'C:\_work\llvm-project\llvm-project\clang\test\SemaOpenCL\builtins-image-feature-guarded.cl'
# .---command stdout------------
# | .section .AMDGPU.config,"", at progbits
# | .long 47176
# | .long 0
# | .long 47180
# | .long 0
# | .long 47200
# | .long 0
# | .long 4
# | .long 0
# | .long 8
# | .long 0
# | .text
# | .globl test_guarded ; -- Begin function test_guarded
# | .p2align 6
# | .type test_guarded, at function
# | test_guarded: ; @test_guarded
# | .Ltest_guarded$local:
# | .type .Ltest_guarded$local, at function
# | ; %bb.0: ; %entry
# | s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
# | s_setpc_b64 s[30:31]
# | .Lfunc_end0:
# | .size test_guarded, .Lfunc_end0-test_guarded
# | .size .Ltest_guarded$local, .Lfunc_end0-test_guarded
# | ; -- End function
# | .set .Ltest_guarded.num_vgpr, 0
# | .set .Ltest_guarded.num_agpr, 0
# | .set .Ltest_guarded.numbered_sgpr, 32
# | .set .Ltest_guarded.num_named_barrier, 0
# | .set .Ltest_guarded.private_seg_size, 0
# | .set .Ltest_guarded.uses_vcc, 0
# | .set .Ltest_guarded.uses_flat_scratch, 0
# | .set .Ltest_guarded.has_dyn_sized_stack, 0
# | .set .Ltest_guarded.has_recursion, 0
# | .set .Ltest_guarded.has_indirect_call, 0
# | .section .AMDGPU.csdata,"", at progbits
# | ; Function info:
# | ; codeLenInByte = 8
# | ; TotalNumSgprs: 38
# | ; NumVgprs: 0
# | ; NumAgprs: 0
# | ; TotalNumVgprs: 0
# | ; ScratchSize: 0
# | ; MemoryBound: 0
# | .section .AMDGPU.gpr_maximums,"", at progbits
# | .set amdgpu.max_num_vgpr, 0
# | .set amdgpu.max_num_agpr, 0
# | .set amdgpu.max_num_sgpr, 32
# | .set amdgpu.max_num_named_barrier, 0
# | .section .AMDGPU.csdata,"", at progbits
# | .ident "clang version 24.0.0git (https://github.com/llvm/llvm-project af8f7539cc0a6785fc7ca5d5ed71761d26d9f474)"
# | .section ".note.GNU-stack","", at progbits
# | .amd_amdgpu_isa "amdgpu9.42-unknown-unknown-unknown-gfx942"
# `-----------------------------
# .---command stderr------------
# | error: no expected directives found: consider use of 'expected-no-diagnostics'
# | 1 error generated.
# `-----------------------------
# 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/218358
More information about the cfe-commits
mailing list