[clang] [HLSL] Make it possible to assign an array from a cbuffer (PR #134174)
LLVM Continuous Integration via cfe-commits
cfe-commits at lists.llvm.org
Mon Apr 21 08:46:44 PDT 2025
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `openmp-offload-amdgpu-runtime-2` running on `rocm-worker-hw-02` while building `clang` at step 7 "Add check check-clang".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/10/builds/3846
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 7 (Add check check-clang) failure: test (failure)
******************** TEST 'Clang :: CodeGenHLSL/ArrayAssignable.hlsl' FAILED ********************
Exit Code: 2
Command Output (stderr):
--
/home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.build/bin/clang -cc1 -internal-isystem /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.build/lib/clang/21/include -nostdsysteminc -triple dxil-pc-shadermodel6.3-library -finclude-default-header -emit-llvm -disable-llvm-passes -o - /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/clang/test/CodeGenHLSL/ArrayAssignable.hlsl | /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.build/bin/FileCheck /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/clang/test/CodeGenHLSL/ArrayAssignable.hlsl # RUN: at line 1
+ /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.build/bin/clang -cc1 -internal-isystem /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.build/lib/clang/21/include -nostdsysteminc -triple dxil-pc-shadermodel6.3-library -finclude-default-header -emit-llvm -disable-llvm-passes -o - /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/clang/test/CodeGenHLSL/ArrayAssignable.hlsl
+ /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.build/bin/FileCheck /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/clang/test/CodeGenHLSL/ArrayAssignable.hlsl
/home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/clang/test/CodeGenHLSL/ArrayAssignable.hlsl:15:9: error: resource has implicit register binding [-Whlsl-implicit-binding]
15 | cbuffer CBArrays {
| ^
1 error generated.
FileCheck error: '<stdin>' is empty.
FileCheck command line: /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.build/bin/FileCheck /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/clang/test/CodeGenHLSL/ArrayAssignable.hlsl
--
********************
```
</details>
https://github.com/llvm/llvm-project/pull/134174
More information about the cfe-commits
mailing list