[all-commits] [llvm/llvm-project] d47a0a: [mlir][Linalg] fix comparison of integers with dif...

Tom Eccles via All-commits all-commits at lists.llvm.org
Fri Jan 20 07:12:03 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d47a0ace5d39cb1abf71b9778c3cde003f0a2e37
      https://github.com/llvm/llvm-project/commit/d47a0ace5d39cb1abf71b9778c3cde003f0a2e37
  Author: Tom Eccles <tom.eccles at arm.com>
  Date:   2023-01-20 (Fri, 20 Jan 2023)

  Changed paths:
    M mlir/include/mlir/Dialect/Tensor/IR/TensorOps.td
    M mlir/lib/Dialect/Linalg/TransformOps/LinalgTransformOps.cpp

  Log Message:
  -----------
  [mlir][Linalg] fix comparison of integers with different signs

Since https://reviews.llvm.org/D142053, building mlir with clang using -Werror
fails reporting comparison of integers with different signs.

Fix this by using unsigned return types for
RelayoutOp::getSourceRank,getDestRank

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




More information about the All-commits mailing list