[llvm-branch-commits] [DirectX] Disentangle DXIL.td's op types from LLVMType. NFC (PR #104247)
via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Wed Aug 14 14:31:33 PDT 2024
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 3dd396dbdafff66dc208690b224cce1ecd0fc47a 8bc857ceae40b5c789df54f29a138db4532839aa --extensions h,cpp -- llvm/include/llvm/Support/DXILABI.h llvm/lib/Target/DirectX/DXILConstants.h llvm/lib/Target/DirectX/DXILOpBuilder.cpp llvm/utils/TableGen/DXILEmitter.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/lib/Target/DirectX/DXILOpBuilder.cpp b/llvm/lib/Target/DirectX/DXILOpBuilder.cpp
index 987437619f..ca37202614 100644
--- a/llvm/lib/Target/DirectX/DXILOpBuilder.cpp
+++ b/llvm/lib/Target/DirectX/DXILOpBuilder.cpp
@@ -157,8 +157,8 @@ struct OpCodeProperty {
llvm::SmallVector<OpOverload> Overloads;
llvm::SmallVector<OpStage> Stages;
llvm::SmallVector<OpAttribute> Attributes;
- int OverloadParamIndex; // parameter index which control the overload.
- // When < 0, should be only 1 overload type.
+ int OverloadParamIndex; // parameter index which control the overload.
+ // When < 0, should be only 1 overload type.
};
// Include getOpCodeClassName getOpCodeProperty, getOpCodeName and
``````````
</details>
https://github.com/llvm/llvm-project/pull/104247
More information about the llvm-branch-commits
mailing list