[PATCH] D33073: [APInt] Add a utility method to change the bit width and storage size of an APInt.
Simon Pilgrim via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu May 11 14:41:36 PDT 2017
RKSimon accepted this revision.
RKSimon added a comment.
This revision is now accepted and ready to land.
LGTM
================
Comment at: lib/Support/APInt.cpp:150
+ // Adjust the bit width and handle allocations as necessary.
+ this->reallocate(RHS.getBitWidth());
----------------
Strip the 'this'?
https://reviews.llvm.org/D33073
More information about the llvm-commits
mailing list