[all-commits] [llvm/llvm-project] c308cb: [mlir] Fix -Wsign-compare in ResolveShapedTypeResu...
Jie Fu (傅杰) via All-commits
all-commits at lists.llvm.org
Tue Oct 31 04:06:53 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c308cb9da65b57da7216a4863ab1a4969de44ccb
https://github.com/llvm/llvm-project/commit/c308cb9da65b57da7216a4863ab1a4969de44ccb
Author: Jie Fu <jiefu at tencent.com>
Date: 2023-10-31 (Tue, 31 Oct 2023)
Changed paths:
M mlir/lib/Dialect/MemRef/Transforms/ResolveShapedTypeResultDims.cpp
Log Message:
-----------
[mlir] Fix -Wsign-compare in ResolveShapedTypeResultDims.cpp (NFC)
/llvm-project/mlir/lib/Dialect/MemRef/Transforms/ResolveShapedTypeResultDims.cpp:98:19: error: comparison of integers of different signs: 'value_type' (aka 'long long') and 'size_t' (aka 'unsigned long') [-Werror,-Wsign-compare]
if (*dimIndex >= reifiedResultShapes[resultNumber].size())
~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
More information about the All-commits
mailing list