diff options
author | Finn Plummer <finn.c.plum@gmail.com> | 2025-06-03 09:59:50 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-06-03 09:59:50 -0700 |
commit | 9ec5afea773783b73b575d397dfdc8fba1fd596b (patch) | |
tree | f59b7262c25ed6c4f63ff06251b9355a37220c10 /llvm/lib/Bitcode/Reader/BitcodeAnalyzer.cpp | |
parent | 3887c23059099e90e0a33a8be870381b4035b71a (diff) | |
download | llvm-9ec5afea773783b73b575d397dfdc8fba1fd596b.zip llvm-9ec5afea773783b73b575d397dfdc8fba1fd596b.tar.gz llvm-9ec5afea773783b73b575d397dfdc8fba1fd596b.tar.bz2 |
[NFC][RootSignature] Move RootSignature util functions (#142491)
`HLSLRootSignature.h` was originally created to hold the struct
definitions of an `llvm::hlsl::rootsig::RootElement` and some helper
functions for it.
However, there many users of the structs that don't require any of the
helper methods. This requires us to link the `FrontendHLSL` library,
where we otherwise wouldn't need to.
For instance:
- This [revert](https://github.com/llvm/llvm-project/pull/142005) was
required as it requires linking to the unrequired `FrontendHLSL` library
- As part of the change required here:
https://github.com/llvm/llvm-project/issues/126557. We will want to add
an `HLSLRootSignatureVersion` enum. Ideally this could live with the
root signature struct defs, but we don't want to link the helper objects
into `clang/Basic/TargetOptions.h`
This change allows the struct definitions to be kept in a single header
file and to then have the `FrontendHLSL` library only be linked when
required.
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeAnalyzer.cpp')
0 files changed, 0 insertions, 0 deletions