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 6d13cc9411b998aabf1a55e0813236ba7a278929 
f214ba68c8045613266cf2becf49a2379e7ca450 --extensions h,cpp -- 
clang/lib/CodeGen/CGBuiltin.cpp clang/lib/Headers/hlsl/hlsl_intrinsics.h 
clang/lib/Sema/SemaHLSL.cpp llvm/lib/Target/DirectX/DXILIntrinsicExpansion.cpp 
llvm/lib/Target/DirectX/DXILOpLowering.cpp 
llvm/lib/Target/SPIRV/SPIRVInstructionSelector.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 bc93fa1733..5d0557a4a7 100644
--- a/llvm/lib/Target/DirectX/DXILOpLowering.cpp
+++ b/llvm/lib/Target/DirectX/DXILOpLowering.cpp
@@ -40,8 +40,9 @@ static bool isVectorArgExpansion(Function &F) {
   return false;
 }
 
-template<int OpcodeVal, bool SOpVal>
-static SmallVector<Value *> getWaveActiveOpArgs(Function &F, IRBuilder<> 
&Builder) {
+template <int OpcodeVal, bool SOpVal>
+static SmallVector<Value *> getWaveActiveOpArgs(Function &F,
+                                                IRBuilder<> &Builder) {
   SmallVector<Value *, 0> Args;
   IntegerType *IntTy = IntegerType::get(Builder.getContext(), 8);
   Constant *Opcode = ConstantInt::get(IntTy, OpcodeVal);

``````````

</details>


https://github.com/llvm/llvm-project/pull/112400
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to