[PATCH] D142026: Optimize OptTable::findNearest implementation and usage

serge via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Jan 21 01:53:50 PST 2023


serge-sans-paille added a comment.



> Plausibly caused by this change -- I'm thinking that `MaximumDistance` is initialized to `UINT_MAX - 1`, but then we cast that to a signed integer and compare that, so it wraps to a large negative number.

@nikic : I thought I fixed that with e8a163dc03e6913360beb305620104ba129c081c <https://reviews.llvm.org/rGe8a163dc03e6913360beb305620104ba129c081c> ... is it included in your build?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D142026



More information about the llvm-commits mailing list