[all-commits] [llvm/llvm-project] 2df0d2: [mlir] Fix -Wsign-compare in AffineOps.cpp (NFC)

Jie Fu (傅杰) via All-commits all-commits at lists.llvm.org
Thu Nov 28 22:13:12 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2df0d2962725a26a1d8c438888f7e70946943589
      https://github.com/llvm/llvm-project/commit/2df0d2962725a26a1d8c438888f7e70946943589
  Author: Jie Fu <jiefu at tencent.com>
  Date:   2024-11-29 (Fri, 29 Nov 2024)

  Changed paths:
    M mlir/lib/Dialect/Affine/IR/AffineOps.cpp

  Log Message:
  -----------
  [mlir] Fix -Wsign-compare in AffineOps.cpp (NFC)

/llvm-project/mlir/lib/Dialect/Affine/IR/AffineOps.cpp:4590:25:
error: comparison of integers of different signs: 'int64_t' (aka 'long') and 'size_t' (aka 'unsigned long') [-Werror,-Wsign-compare]
  if (dynamicBasisIndex == dynamicBasis.size())
      ~~~~~~~~~~~~~~~~~ ^  ~~~~~~~~~~~~~~~~~~~
1 error generated.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list