[PATCH] D32244: [BitVector] Add << and >> operators
Zachary Turner via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 19 14:50:07 PDT 2017
zturner added inline comments.
================
Comment at: llvm/include/llvm/ADT/BitVector.h:504
+ Bits[NumWords - 1] >>= BitDistance;
+ clear_unused_bits();
+ }
----------------
craig.topper wrote:
> I didn't look closely but why would there be non-zero values on a right shift that need to be cleared?
I think I can get rid of that, thanks for noticing.
https://reviews.llvm.org/D32244
More information about the llvm-commits
mailing list