[PATCH] D30525: [APInt] Add setLowBits/setHighBits methods to APInt.

Davide Italiano via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 1 23:47:55 PST 2017


davide added a comment.

Reducing `malloc()` traffic is generally a good thing, so is this patch. It's particularly slow on some systems (Windows), and FWIW, not great also on Linux with the default allocator (I ended up replacing my `malloc()` with tcmalloc everywhere, but that's a story for another day). That said, I'm curious if you're actually able to measure any compile time reduction with this change on the cases you plan to switch.


https://reviews.llvm.org/D30525





More information about the llvm-commits mailing list