[clang] [SemaHLSL] Verify assignment of local resources (PR #176793)
via cfe-commits
cfe-commits at lists.llvm.org
Mon Jan 19 11:49:47 PST 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results
* 85470 tests passed
* 1209 tests skipped
* 1 test failed
## Failed Tests
(click on a test name to see its output)
### Clang
<details>
<summary>Clang.SemaHLSL/local_resource_binding_errs.hlsl</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
/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/23/include -nostdsysteminc -triple dxil-pc-shadermodel6.0-library -verify /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaHLSL/local_resource_binding_errs.hlsl
# 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/23/include -nostdsysteminc -triple dxil-pc-shadermodel6.0-library -verify /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaHLSL/local_resource_binding_errs.hlsl
# .---command stderr------------
# | error: 'expected-error' diagnostics expected but not seen:
# | File /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaHLSL/local_resource_binding_errs.hlsl Line 22 (directive at /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaHLSL/local_resource_binding_errs.hlsl:21): assignment to local resource 'Out1' is not to same the unique global resource
# | error: 'expected-error' diagnostics seen but not expected:
# | File /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaHLSL/local_resource_binding_errs.hlsl Line 22: assignment to local resource 'Out1' is not to the same unique global resource
# | 2 errors 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/176793
More information about the cfe-commits
mailing list