[all-commits] [llvm/llvm-project] b3b940: Remove unnecessary comparison.
Mitch Phillips via All-commits
all-commits at lists.llvm.org
Wed Feb 1 15:05:49 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b3b940d1501e39563ac549c3a5a89b25ae8ab7b8
https://github.com/llvm/llvm-project/commit/b3b940d1501e39563ac549c3a5a89b25ae8ab7b8
Author: Mitch Phillips <31459023+hctim at users.noreply.github.com>
Date: 2023-02-01 (Wed, 01 Feb 2023)
Changed paths:
M llvm/lib/ProfileData/InstrProfReader.cpp
Log Message:
-----------
Remove unnecessary comparison.
Popped up after https://reviews.llvm.org/D142826 added extra flags to
-Wextra, which is used by our sanitizer buildbots
(https://lab.llvm.org/buildbot/#/builders/37/builds/19910).
This check seems unnecessary, it's a bad cargo-cult after the buffer
size was expanded to allow >= 4GiB after
https://reviews.llvm.org/rGd6c15b661ab0aabb00f1219ce4af7136938e67e2.
More information about the All-commits
mailing list