[all-commits] [llvm/llvm-project] b44399: [mlir] Fix -Wsign-compare in NVGPUDialect.cpp (NFC)

Jie Fu (傅杰) via All-commits all-commits at lists.llvm.org
Wed Nov 8 04:27:47 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b44399296a7fa4323ab32739df6dbcfc6068af8f
      https://github.com/llvm/llvm-project/commit/b44399296a7fa4323ab32739df6dbcfc6068af8f
  Author: Jie Fu <jiefu at tencent.com>
  Date:   2023-11-08 (Wed, 08 Nov 2023)

  Changed paths:
    M mlir/lib/Dialect/NVGPU/IR/NVGPUDialect.cpp

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

/llvm-project/mlir/lib/Dialect/NVGPU/IR/NVGPUDialect.cpp:396:31: error: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int64_t' (aka 'long long') [-Werror,-Wsign-compare]
  if (getCoordinates().size() !=
      ~~~~~~~~~~~~~~~~~~~~~~~ ^
1 error generated.




More information about the All-commits mailing list