[PATCH] D140741: [llvm-profdata] Remove unnecessary file size check

William Junda Huang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 28 16:42:07 PST 2022


huangjd added a comment.

The check also looks suspicious by casting size_t to uint64_t. If size_t is 64 bit the cast has no effect, and if size_t is 32 bit then the condition is always false, so I don't understand what's the purpose of this check


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D140741/new/

https://reviews.llvm.org/D140741



More information about the llvm-commits mailing list