[llvm] [DirectX][NFC] Change specification of overload types and attribute in DXIL.td (PR #81184)
via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 9 14:06:04 PST 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 7ff488708c0caa1b31af7ad677b9b321209f6738 cd32550215cb2d846d6aaf09d451d81c9c329f10 -- llvm/utils/TableGen/DXILEmitter.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/utils/TableGen/DXILEmitter.cpp b/llvm/utils/TableGen/DXILEmitter.cpp
index dac34125ee..c58ee2b693 100644
--- a/llvm/utils/TableGen/DXILEmitter.cpp
+++ b/llvm/utils/TableGen/DXILEmitter.cpp
@@ -52,9 +52,9 @@ struct DXILOperationDesc {
SmallVector<ParameterKind> OverloadTypes; // overload types if applicable
StringRef Attr; // operation attribute; reference to string representation
// of llvm::Attribute::AttrKind
- StringRef Intrinsic; // The llvm intrinsic map to OpName. Default is "" which
- // means no map exist
- bool IsDeriv = false; // whether this is some kind of derivative
+ StringRef Intrinsic; // The llvm intrinsic map to OpName. Default is "" which
+ // means no map exist
+ bool IsDeriv = false; // whether this is some kind of derivative
bool IsGradient = false; // whether this requires a gradient calculation
bool IsFeedback = false; // whether this is a sampler feedback op
bool IsWave =
``````````
</details>
https://github.com/llvm/llvm-project/pull/81184
More information about the llvm-commits
mailing list