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

Kazu Hirata via All-commits all-commits at lists.llvm.org
Thu Nov 2 13:03:11 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0e6c679c1a5c0d3f101335c904583b5d62cb51d3
      https://github.com/llvm/llvm-project/commit/0e6c679c1a5c0d3f101335c904583b5d62cb51d3
  Author: Kazu Hirata <kazu at google.com>
  Date:   2023-11-02 (Thu, 02 Nov 2023)

  Changed paths:
    M mlir/lib/Dialect/Tosa/IR/TosaOps.cpp

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

This patch fixes:

  mlir/lib/Dialect/Tosa/IR/TosaOps.cpp:866:35: error: comparison of
  integers of different signs: 'int64_t' (aka 'long') and 'size_t'
  (aka 'unsigned long') [-Werror,-Wsign-compare]

  mlir/lib/Dialect/Tosa/IR/TosaOps.cpp:888:29: error: comparison of
  integers of different signs: 'int64_t' (aka 'long') and 'size_t'
  (aka 'unsigned long') [-Werror,-Wsign-compare]

  mlir/lib/Dialect/Tosa/IR/TosaOps.cpp:893:59: error: comparison of
  integers of different signs: 'int64_t' (aka 'long') and 'size_t'
  (aka 'unsigned long') [-Werror,-Wsign-compare]




More information about the All-commits mailing list