[all-commits] [llvm/llvm-project] 071207: [mlir] Fix -Wsign-compare in MeshOps.cpp (NFC)
Jie Fu (傅杰) via All-commits
all-commits at lists.llvm.org
Mon Jan 15 15:09:17 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 071207ea415d73844f6d48be3b83a7e010e3759b
https://github.com/llvm/llvm-project/commit/071207ea415d73844f6d48be3b83a7e010e3759b
Author: Jie Fu <jiefu at tencent.com>
Date: 2024-01-16 (Tue, 16 Jan 2024)
Changed paths:
M mlir/lib/Dialect/Mesh/IR/MeshOps.cpp
Log Message:
-----------
[mlir] Fix -Wsign-compare in MeshOps.cpp (NFC)
llvm-project/mlir/lib/Dialect/Mesh/IR/MeshOps.cpp:204:25:
error: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int64_t' (aka 'long') [-Werror,-Wsign-compare]
if (getShape().size() > rank)
~~~~~~~~~~~~~~~~~ ^ ~~~~
1 error generated.
More information about the All-commits
mailing list