[llvm] [DXIL] Add GroupMemoryBarrierWithGroupSync intrinsic (PR #112641)

via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 16 18:03:00 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 29e192a0bfbc75fa66498d3b1c1d1329009f1dd2 36dbb21745a6e1c2581ef35e6af3428d9253de25 --extensions h,cpp -- llvm/lib/Target/DirectX/DXILConstants.h llvm/lib/Target/DirectX/DXILOpLowering.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/DXILOpLowering.cpp b/llvm/lib/Target/DirectX/DXILOpLowering.cpp
index 1be20cf112..dcda4027ac 100644
--- a/llvm/lib/Target/DirectX/DXILOpLowering.cpp
+++ b/llvm/lib/Target/DirectX/DXILOpLowering.cpp
@@ -473,9 +473,9 @@ public:
       switch (ID) {
       default:
         continue;
-#define DXIL_OP_INTRINSIC(OpCode, Intrin, ExtraArgs)                         \
-  case Intrin:                                                               \
-    HasErrors |= replaceFunctionWithOp(F, OpCode, ExtraArgs);                \
+#define DXIL_OP_INTRINSIC(OpCode, Intrin, ExtraArgs)                           \
+  case Intrin:                                                                 \
+    HasErrors |= replaceFunctionWithOp(F, OpCode, ExtraArgs);                  \
     break;
 #include "DXILOperation.inc"
       case Intrinsic::dx_handle_fromBinding:

``````````

</details>


https://github.com/llvm/llvm-project/pull/112641


More information about the llvm-commits mailing list