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