[PATCH] D102792: Fix warning: comparison of integer expressions of different signedness
Pengfei Wang via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri May 21 03:24:03 PDT 2021
This revision was automatically updated to reflect the committed changes.
Closed by commit rGe2815398ce0c: Fix warning: comparison of integer expressions of different signedness. NFC (authored by lbenes, committed by pengfei).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D102792/new/
https://reviews.llvm.org/D102792
Files:
llvm/lib/Target/X86/X86TileConfig.cpp
Index: llvm/lib/Target/X86/X86TileConfig.cpp
===================================================================
--- llvm/lib/Target/X86/X86TileConfig.cpp
+++ llvm/lib/Target/X86/X86TileConfig.cpp
@@ -176,7 +176,7 @@
SubIdx = 0;
auto Iter = DefMI.getIterator();
if (&MBB == &MF.front() &&
- std::distance(MBB.instr_begin(), Iter) < ConstPos)
+ (unsigned)std::distance(MBB.instr_begin(), Iter) < ConstPos)
Iter = ConstMI->getIterator();
NewMI = addFrameReference(
BuildMI(MBB, ++Iter, DL,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D102792.346975.patch
Type: text/x-patch
Size: 596 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210521/c4c0eca4/attachment.bin>
More information about the llvm-commits
mailing list