search for: otherknownzero

Displaying 2 results from an estimated 2 matches for "otherknownzero".

2011 Mar 08
0
[LLVMdev] First Patch
...tCombine/InstCombineAddSub.cpp (revision 127153) > +++ lib/Transforms/InstCombine/InstCombineAddSub.cpp (working copy) > @@ -57,6 +57,30 @@ > } > > > +static bool RippleBucketExists(APInt &thisKnownZero, APInt &thisKnownOne, > + APInt &otherKnownZero, unsigned width) { > + APInt mask; > + // First try to to take care of the case > + // (X & ~4) + (Y & 1) > + int32_t power = (~thisKnownZero).exactLogBase2(); > + if (power == -1) { > + if (~thisKnownZero == thisKnownOne) > + power = thisKnownOne.exactLog...
2011 Mar 08
2
[LLVMdev] First Patch
Hi! I've attached a patch which takes care of the issues mentioned (and adds two tests). -- Sanjoy Das http://playingwithpointers.com -------------- next part -------------- A non-text attachment was scrubbed... Name: ripple-bucket.diff Type: text/x-diff Size: 3318 bytes Desc: not available URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110308/0814e3e8/attachment.diff>