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 7e00339e259f01f8b18d409760d78eee2460aeee be9554eabde52e6feb37ad91935ee73aacdf00d6 --extensions h,cpp -- llvm/lib/Target/DirectX/DXILOpBuilder.cpp llvm/lib/Target/DirectX/DXILOpBuilder.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/DXILOpBuilder.cpp b/llvm/lib/Target/DirectX/DXILOpBuilder.cpp index f45f86f601..e76b7d6ad7 100644 --- a/llvm/lib/Target/DirectX/DXILOpBuilder.cpp +++ b/llvm/lib/Target/DirectX/DXILOpBuilder.cpp @@ -208,8 +208,7 @@ static StructType *getCBufRetType(Type *ElementTy) { // 64-bit types only have two elements if (ElementTy->isDoubleTy() || ElementTy->isIntegerTy(64)) - return getOrCreateStructType( - TypeName, {ElementTy, ElementTy}, Ctx); + return getOrCreateStructType(TypeName, {ElementTy, ElementTy}, Ctx); // 16-bit types pack 8 elements and have .8 in their name to differentiate // from min-precision types. `````````` </details> https://github.com/llvm/llvm-project/pull/128699 _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits