[llvm-branch-commits] [llvm] [DirectX] Add DXILRemoveUnusedResources pass (PR #200965)

via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Fri Jun 5 18:08:30 PDT 2026


github-actions[bot] wrote:

<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results

* 135219 tests passed
* 3339 tests skipped
* 1 test failed

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

### LLVM
<details>
<summary>LLVM.CodeGen/SPIRV/cbuffer_global_elim.ll</summary>

```
Exit Code: 2

Command Output (stdout):
--
# RUN: at line 1
c:\_work\llvm-project\llvm-project\build\bin\opt.exe -S -passes='spirv-cbuffer-access' C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\SPIRV\cbuffer_global_elim.ll -o - | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\SPIRV\cbuffer_global_elim.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\opt.exe' -S -passes=spirv-cbuffer-access 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\SPIRV\cbuffer_global_elim.ll' -o -
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\SPIRV\cbuffer_global_elim.ll'
# note: command had no output on stdout or stderr
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -disable-dxil-remove-unused-resources C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\SPIRV\cbuffer_global_elim.ll -o - | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\SPIRV\cbuffer_global_elim.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -disable-dxil-remove-unused-resources 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\SPIRV\cbuffer_global_elim.ll' -o -
# .---command stderr------------
# | llc.exe: Unknown command line argument '-disable-dxil-remove-unused-resources'.  Try: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe --help'
# | llc.exe: Did you mean '--disable-nofree-inference'?
# `-----------------------------
# error: command failed with exit status: 1
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\SPIRV\cbuffer_global_elim.ll'
# .---command stderr------------
# | FileCheck error: '<stdin>' is empty.
# | FileCheck command line:  c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\SPIRV\cbuffer_global_elim.ll
# `-----------------------------
# error: command failed with exit status: 2

--

```
</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/200965


More information about the llvm-branch-commits mailing list