[all-commits] [llvm/llvm-project] d83492: [mlir] Fix a warning

kazutakahirata via All-commits all-commits at lists.llvm.org
Mon Mar 6 13:57:32 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d83492c97d9c793212e692177299eb36d6ac928d
      https://github.com/llvm/llvm-project/commit/d83492c97d9c793212e692177299eb36d6ac928d
  Author: Kazu Hirata <kazu at google.com>
  Date:   2023-03-06 (Mon, 06 Mar 2023)

  Changed paths:
    M mlir/lib/Dialect/SparseTensor/IR/SparseTensorDialect.cpp

  Log Message:
  -----------
  [mlir] Fix a warning

This patch fixes:

  mlir/lib/Dialect/SparseTensor/IR/SparseTensorDialect.cpp:675:56:
  error: comparison of integers of different signs: 'long const' and
  'const mlir::sparse_tensor::Level' (aka 'const unsigned long')
  [-Werror,-Wsign-compare]




More information about the All-commits mailing list