[PATCH] D30525: [APInt] Add setLowBits/setHighBits methods to APInt.
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 2 00:06:06 PST 2017
craig.topper added a comment.
I haven't tried to measure any compile time differences. I was just inspired by Simon's patch for setBits and observing that ORing getLowBits/getHighBits was a common idiom in some places like ValueTracking. I assume we aren't often dealing larger than 64-bit numbers there on most types of compiled code.
https://reviews.llvm.org/D30525
More information about the llvm-commits
mailing list