Reid Spencer f6bef488ee Compute getLowBitsSet correctly. Using the complement of a 64-bit value
and shifting down without regard for the bitwidth of the APInt can lead
to incorrect initialization values. Instead, check for the word size case
(to avoid undef results from shift) and then do (1 << loBitsSet) - 1


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35344 91177308-0d34-0410-b5e6-96231b3b80d8
2007-03-25 21:58:42 +00:00
..
2007-01-27 01:14:20 +00:00
2007-02-01 05:32:05 +00:00
2007-02-04 00:30:40 +00:00
2007-02-04 00:12:12 +00:00
2007-02-06 14:59:28 +00:00