[Mlir-commits] [mlir] e6075b2 - [mlir] Fix a warning

Kazu Hirata llvmlistbot at llvm.org
Thu Jan 6 18:41:17 PST 2022


Author: Kazu Hirata
Date: 2022-01-06T18:41:07-08:00
New Revision: e6075b2c2cd52166ee69d17b5358af11cffc8405

URL: https://github.com/llvm/llvm-project/commit/e6075b2c2cd52166ee69d17b5358af11cffc8405
DIFF: https://github.com/llvm/llvm-project/commit/e6075b2c2cd52166ee69d17b5358af11cffc8405.diff

LOG: [mlir] Fix a warning

This patch fixes:

  mlir/include/mlir/Dialect/Linalg/Transforms/Transforms.h:913:30:
  error: private field 'options' is not used
  [-Werror,-Wunused-private-field]

Added: 
    

Modified: 
    mlir/include/mlir/Dialect/Linalg/Transforms/Transforms.h

Removed: 
    


################################################################################
diff  --git a/mlir/include/mlir/Dialect/Linalg/Transforms/Transforms.h b/mlir/include/mlir/Dialect/Linalg/Transforms/Transforms.h
index 72726f7b006ba..ee6e948dd4698 100644
--- a/mlir/include/mlir/Dialect/Linalg/Transforms/Transforms.h
+++ b/mlir/include/mlir/Dialect/Linalg/Transforms/Transforms.h
@@ -910,7 +910,6 @@ struct LinalgVectorizationPattern : public OpInterfaceRewritePattern<LinalgOp> {
 private:
   /// LinalgTransformMarker handles special attribute manipulations.
   LinalgTransformationFilter filter;
-  LinalgVectorizationOptions options;
 };
 
 //===----------------------------------------------------------------------===//


        


More information about the Mlir-commits mailing list