Skip to content

Conversation

@adam-yang
Copy link
Contributor

Example implementation of lowering GroupMemoryBarrierWithGroupSync via new tablegen based method.

@github-actions
Copy link

⚠️ C/C++ code formatter, clang-format found issues in your code. ⚠️

You can test this locally with the following command:
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
View the diff from clang-format here.
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: 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant