[all-commits] [llvm/llvm-project] e898be: [mlir] Fix warnings

kazutakahirata via All-commits all-commits at lists.llvm.org
Fri Sep 30 15:01:13 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e898be2f6edbb886af2f6b23e2f5db5210535620
      https://github.com/llvm/llvm-project/commit/e898be2f6edbb886af2f6b23e2f5db5210535620
  Author: Kazu Hirata <kazu at google.com>
  Date:   2022-09-30 (Fri, 30 Sep 2022)

  Changed paths:
    M mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
    M mlir/lib/ExecutionEngine/SparseTensor/File.cpp

  Log Message:
  -----------
  [mlir] Fix warnings

This patch fixes:

  mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp:1348:31: error: comparison
  of integers of different signs: 'size_t' (aka 'unsigned long') and
  'int64_t' (aka 'long') [-Werror,-Wsign-compare]

  mlir/lib/ExecutionEngine/SparseTensor/File.cpp:110:3: error: default
  label in switch which covers all enumeration values
  [-Werror,-Wcovered-switch-default]




More information about the All-commits mailing list