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 bf0d13553b2bc2124a266e398976ba80a1114580 e5926b63835eec731c513d91ce9c451c429ca572 --extensions cpp,h -- mlir/include/mlir/Dialect/Vector/Transforms/LoweringPatterns.h mlir/lib/Conversion/GPUCommon/GPUToLLVMConversion.cpp mlir/lib/Conversion/VectorToLLVM/ConvertVectorToLLVM.cpp mlir/lib/Conversion/VectorToLLVM/ConvertVectorToLLVMPass.cpp `````````` </details> <details> <summary> View the diff from clang-format here. </summary> ``````````diff diff --git a/mlir/lib/Conversion/VectorToLLVM/ConvertVectorToLLVM.cpp b/mlir/lib/Conversion/VectorToLLVM/ConvertVectorToLLVM.cpp index 577b74bb7e..9657f583c3 100644 --- a/mlir/lib/Conversion/VectorToLLVM/ConvertVectorToLLVM.cpp +++ b/mlir/lib/Conversion/VectorToLLVM/ConvertVectorToLLVM.cpp @@ -1479,12 +1479,13 @@ class VectorCreateMaskOpConversion : public OpConversionPattern<vector::CreateMaskOp> { public: explicit VectorCreateMaskOpConversion(MLIRContext *context, - bool enableIndexOpt) + bool enableIndexOpt) : OpConversionPattern<vector::CreateMaskOp>(context), force32BitVectorIndices(enableIndexOpt) {} - LogicalResult matchAndRewrite(vector::CreateMaskOp op, OpAdaptor adaptor, - ConversionPatternRewriter &rewriter) const override { + LogicalResult + matchAndRewrite(vector::CreateMaskOp op, OpAdaptor adaptor, + ConversionPatternRewriter &rewriter) const override { auto dstType = op.getType(); if (dstType.getRank() != 1 || !cast<VectorType>(dstType).isScalable()) return failure(); `````````` </details> https://github.com/llvm/llvm-project/pull/119975 _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits