[all-commits] [llvm/llvm-project] 7707ed: [mlir] Fix two build warnings (NFC)
Jie Fu via All-commits
all-commits at lists.llvm.org
Tue Mar 14 21:08:13 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 7707ed9727742a78931226def32610fac85b72a2
https://github.com/llvm/llvm-project/commit/7707ed9727742a78931226def32610fac85b72a2
Author: Jie Fu <jiefu at tencent.com>
Date: 2023-03-15 (Wed, 15 Mar 2023)
Changed paths:
M mlir/lib/Dialect/Tensor/IR/TensorTilingInterfaceImpl.cpp
M mlir/lib/Dialect/Tensor/Utils/Utils.cpp
Log Message:
-----------
[mlir] Fix two build warnings (NFC)
/data/llvm-project/mlir/lib/Dialect/Tensor/Utils/Utils.cpp:62:11: error: comparison of integers of different signs: 'int64_t' (aka 'long') and 'size_t' (aka 'unsigned long') [-Werror,-Wsign-compare]
if (dim >= shape.size())
~~~ ^ ~~~~~~~~~~~~
1 error generated.
/data/llvm-project/mlir/lib/Dialect/Tensor/IR/TensorTilingInterfaceImpl.cpp:484:8: error: unused variable 'appendIndex' [-Werror,-Wunused-variable]
auto appendIndex = [&](Value val, SmallVector<Value> &dynIndices,
^
1 error generated.
More information about the All-commits
mailing list