<div dir="ltr">Is there any reason BitVector could not also use uint64_t?  The fact that it's target dependent leads to more than a few headaches when trying to make portable operations.</div><br><div class="gmail_quote"><div dir="ltr">On Thu, Apr 20, 2017 at 9:41 AM Craig Topper via Phabricator <<a href="mailto:reviews@reviews.llvm.org">reviews@reviews.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">craig.topper added a comment.<br>
<br>
BitVector's word size is dependent on target as it is using "unsigned long" not uint32_t/uint64_t. tcShiftRight is hardcoded to uint64_t though we could probably make it a template.<br>
<br>
<br>
Repository:<br>
  rL LLVM<br>
<br>
<a href="https://reviews.llvm.org/D32244" rel="noreferrer" target="_blank">https://reviews.llvm.org/D32244</a><br>
<br>
<br>
<br>
</blockquote></div>