[llvm] [HLSLSemanticSignatures] Implement the stacked packing of elements (PR #218060)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 10 11:56:53 PDT 2026
github-actions[bot] wrote:
<!--LLVM CODE FORMAT COMMENT: {clang-format}-->
:warning: C/C++ code formatter, clang-format found issues in your code. :warning:
<details>
<summary>
You can test this locally with the following command:
</summary>
``````````bash
git-clang-format --diff origin/main HEAD --extensions cpp,h -- llvm/include/llvm/Frontend/HLSL/SemanticSignaturePacking.h llvm/lib/Frontend/HLSL/SemanticSignaturePacking.cpp llvm/unittests/Frontend/HLSLSemanticSignaturePackingTest.cpp llvm/lib/Frontend/HLSL/SemanticSignatures.cpp --diff_from_common_commit
``````````
:warning:
The reproduction instructions above might return results for more than one PR
in a stack if you are using a stacked PR workflow. You can limit the results by
changing `origin/main` to the base branch/commit you want to compare against.
:warning:
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/include/llvm/Frontend/HLSL/SemanticSignaturePacking.h b/llvm/include/llvm/Frontend/HLSL/SemanticSignaturePacking.h
index 522b8b76a..bcdb6ec71 100644
--- a/llvm/include/llvm/Frontend/HLSL/SemanticSignaturePacking.h
+++ b/llvm/include/llvm/Frontend/HLSL/SemanticSignaturePacking.h
@@ -25,8 +25,7 @@ static constexpr unsigned MaxSignatureRows = 32;
static constexpr unsigned MaxSignatureCols = 4;
/// Denotes the element that could not be packed and why.
-class LLVM_ABI SignaturePackingError
- : public ErrorInfo<SignaturePackingError> {
+class LLVM_ABI SignaturePackingError : public ErrorInfo<SignaturePackingError> {
public:
enum ErrorKind {
SignatureOverflow,
``````````
</details>
https://github.com/llvm/llvm-project/pull/218060
More information about the llvm-commits
mailing list