[all-commits] [llvm/llvm-project] e9ac79: [mlir] Fix some of the warnings in MLIR code.

Alexander Belyaev via All-commits all-commits at lists.llvm.org
Thu Jun 11 13:19:02 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: e9ac7927483ce2e2d92eb188c20332a1049bb69e
      https://github.com/llvm/llvm-project/commit/e9ac7927483ce2e2d92eb188c20332a1049bb69e
  Author: Alexander Belyaev <pifon at google.com>
  Date:   2020-06-11 (Thu, 11 Jun 2020)

  Changed paths:
    M mlir/lib/Conversion/VectorToSCF/VectorToSCF.cpp
    M mlir/lib/Dialect/Linalg/Transforms/Transforms.cpp
    M mlir/lib/Dialect/Shape/IR/Shape.cpp
    M mlir/tools/mlir-linalg-ods-gen/mlir-linalg-ods-gen.cpp

  Log Message:
  -----------
  [mlir] Fix some of the warnings in MLIR code.

Summary:
* extra ';' in the following files:
    mlir/lib/Dialect/Linalg/Transforms/Transforms.cpp
    mlir/lib/Dialect/Shape/IR/Shape.cpp

* base class ‘mlir::ConvertVectorToSCFBase<ConvertVectorToSCFPass>’
  should be explicitly initialized in the copy constructor [-Wextra] in
    mlir/lib/Conversion/VectorToSCF/VectorToSCF.cpp

* warning: ‘bool Expression::operator==(const Expression&) const’
  defined but not used [-Wunused-function] in
    mlir/tools/mlir-linalg-ods-gen/mlir-linalg-ods-gen.cpp

Differential Revision: https://reviews.llvm.org/D81673




More information about the All-commits mailing list