<div dir="ltr"><div class="gmail_extra"><div>On Tue, May 21, 2013 at 5:36 PM, Evan Cheng <span dir="ltr"><<a href="mailto:evan.cheng@apple.com" target="_blank">evan.cheng@apple.com</a>></span> wrote:<br></div><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Can this consolidate with MathExtras.h?<br>
<br>
Evan<br></blockquote><div><br></div><div>Yes, it can.</div><div><br></div><div>- Michael Spencer<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

<div><div class="h5"><br>
On May 21, 2013, at 5:28 PM, Michael Spencer <<a href="mailto:bigcheesegs@gmail.com">bigcheesegs@gmail.com</a>> wrote:<br>
<br>
> I need generic bit utility functions for lld, so I wrote these. The main additional functionality is giving a choice of behavior on zero, and being generic instead of having _32 and _64 versions.<br>
><br>
> The signed version of most of these functions are marked = delete; As the operation doesn't make sense in C++.<br>
><br>
> I plan to move all users of the versions in MathExtras.h over to this.<br>
><br>
> <a href="http://llvm-reviews.chandlerc.com/D841" target="_blank">http://llvm-reviews.chandlerc.com/D841</a><br>
><br>
> Files:<br>
>  include/llvm/Support/BitHacks.h<br>
>  unittests/Support/BitHacksTest.cpp<br>
>  unittests/Support/CMakeLists.txt<br>
</div></div>> <D841.1.patch>_______________________________________________<br>
> llvm-commits mailing list<br>
> <a href="mailto:llvm-commits@cs.uiuc.edu">llvm-commits@cs.uiuc.edu</a><br>
> <a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits</a><br>
<br>
</blockquote></div><br></div></div>