[PATCH] D109483: [APInt] Normalize naming on keep constructors / predicate methods.

Chris Lattner via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 8 22:45:31 PDT 2021


lattner marked an inline comment as done.
lattner added inline comments.


================
Comment at: llvm/include/llvm/ADT/APInt.h:384
   /// value for the APInt's bit width.
   bool isMaxValue() const { return isAllOnesValue(); }
 
----------------
craig.topper wrote:
> isAllOnes()?
Yep, good catch, fixed thanks!


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D109483



More information about the llvm-commits mailing list