Fix -Wsign-compare warning (NFC)

This commit is contained in:
Mehdi Amini 2021-06-02 17:28:19 +00:00
parent d0e159334f
commit 8c948b18e9
1 changed files with 1 additions and 1 deletions

View File

@ -329,7 +329,7 @@ promoteSubViews(ImplicitLocOpBuilder &b, LinalgOp op,
else
opViews.push_back(
(*promotedBuffersAndViews)[view.index()].partialLocalView);
if (view.index() >= op.getNumInputs())
if (static_cast<int64_t>(view.index()) >= op.getNumInputs())
writebackViews.emplace_back(std::make_pair(
view.value(),
(*promotedBuffersAndViews)[view.index()].partialLocalView));