[all-commits] [llvm/llvm-project] ea9706: Fix signed/unsigned comparison after b5426ced71280
Jeremy Morse via All-commits
all-commits at lists.llvm.org
Mon Oct 18 02:29:32 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ea970661dc74505da6c45f6c83579aabb115ecc5
https://github.com/llvm/llvm-project/commit/ea970661dc74505da6c45f6c83579aabb115ecc5
Author: Jeremy Morse <jeremy.morse at sony.com>
Date: 2021-10-18 (Mon, 18 Oct 2021)
Changed paths:
M llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp
Log Message:
-----------
Fix signed/unsigned comparison after b5426ced71280
gcc11 warns that this counter causes a signed/unsigned comaprison when it's
later compared with a SmallVector::difference_type. gcc appears to be
correct, clang does not warn one way or the other.
More information about the All-commits
mailing list