llvm.org GIT mirror llvm / 1e8390d
Don't attempt to mask no bits git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42909 91177308-0d34-0410-b5e6-96231b3b80d8 Neil Booth 13 years ago
1 changed file(s) with 2 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
22112211 dst[dstParts - 1] |= ((src[firstSrcPart + dstParts] & mask)
22122212 << n % integerPartWidth);
22132213 } else if (n > srcBits) {
2214 dst[dstParts - 1] &= lowBitMask (srcBits % integerPartWidth);
2214 if (srcBits % integerPartWidth)
2215 dst[dstParts - 1] &= lowBitMask (srcBits % integerPartWidth);
22152216 }
22162217
22172218 /* Clear high parts. */