[llvm-commits] [PATCH] Rotate constant folding bug
Cameron McInally
cameron.mcinally at nyu.edu
Thu Oct 13 14:47:54 PDT 2011
>
>
> > const APInt two(1, 2);
>
> If I'm not mistaken, that's one bit representing the unsigned value '2'.
> So, effectively, that APInt is a '0'. Unless this was done deliberately
> (which is why I'm asking), I believe the unit tests following this
> definition are not doing what they are supposed to do.
>
Whoops... TEST(APIntTest, i1) => int*1. Nevermind, I just got it. It's the
first time I'm looking at the unit tests.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20111013/37ffab17/attachment.html>
More information about the llvm-commits
mailing list