[llvm-branch-commits] [clang] clang/AMDGPU: Add half typed image gather4 builtin (PR #213613)

via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Mon Aug 3 00:55:44 PDT 2026


github-actions[bot] wrote:

<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results

* 92539 tests passed
* 818 tests skipped
* 2 tests failed

## Failed Tests
(click on a test name to see its output)

### Clang
<details>
<summary>Clang.CIR/CodeGenHIP/builtins-amdgcn-extended-image.hip</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 4
/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 -triple amdgpu11.00-amd-amdhsa -x hip -std=c++11 -fclangir             -fcuda-is-device -emit-cir /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGenHIP/builtins-amdgcn-extended-image.hip -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGenHIP/Output/builtins-amdgcn-extended-image.hip.tmp.cir
# 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 -triple amdgpu11.00-amd-amdhsa -x hip -std=c++11 -fclangir -fcuda-is-device -emit-cir /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGenHIP/builtins-amdgcn-extended-image.hip -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGenHIP/Output/builtins-amdgcn-extended-image.hip.tmp.cir
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGenHIP/builtins-amdgcn-extended-image.hip:58:10: error: ClangIR code gen Not Yet Implemented: unimplemented builtin call: __builtin_amdgcn_image_gather4_lz_2d_v4f16_f32
# |    58 |   return __builtin_amdgcn_image_gather4_lz_2d_v4f16_f32(1, s, t, tex, samp, 0, 120, 110);
# |       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1 error generated when compiling for amdgpu11.00-amd-amdhsa.
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>
<details>
<summary>Clang.CIR/CodeGenHIP/builtins-amdgcn-extended-image.hip</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 4
/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 -triple amdgpu11.00-amd-amdhsa -x hip -std=c++11 -fclangir             -fcuda-is-device -emit-cir /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGenHIP/builtins-amdgcn-extended-image.hip -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGenHIP/Output/builtins-amdgcn-extended-image.hip.tmp.cir
# 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 -triple amdgpu11.00-amd-amdhsa -x hip -std=c++11 -fclangir -fcuda-is-device -emit-cir /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGenHIP/builtins-amdgcn-extended-image.hip -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGenHIP/Output/builtins-amdgcn-extended-image.hip.tmp.cir
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGenHIP/builtins-amdgcn-extended-image.hip:58:10: error: ClangIR code gen Not Yet Implemented: unimplemented builtin call: __builtin_amdgcn_image_gather4_lz_2d_v4f16_f32
# |    58 |   return __builtin_amdgcn_image_gather4_lz_2d_v4f16_f32(1, s, t, tex, samp, 0, 120, 110);
# |       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1 error generated when compiling for amdgpu11.00-amd-amdhsa.
# `-----------------------------
# 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/213613


More information about the llvm-branch-commits mailing list