aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/SelectionDAG/TargetLowering.cpp
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2007-03-25 02:03:12 +0000
committerReid Spencer <rspencer@reidspencer.com>2007-03-25 02:03:12 +0000
commit2b81207b4b2bafa912851e8935271aa2faf82cfe (patch)
tree810051c3d08e72ff2a5d17f13aa486ccfdbfd848 /lib/CodeGen/SelectionDAG/TargetLowering.cpp
parent1439352ecef0c40905a07038faf33f32b769566f (diff)
More APIntification:
* Convert the last use of a uint64_t that should have been an APInt. * Change ComputeMaskedBits to have a const reference argument for the Mask so that recursions don't cause unneeded temporaries. This causes temps to be needed in other places (where the mask has to change) but this change optimizes for the recursion which is more frequent. * Remove two instances of &ing a Mask with getAllOnesValue. Its not needed any more because APInt is accurate in its bit computations. * Start using the getLowBitsSet and getHighBits set methods on APInt instead of shifting. This makes it more clear in the code what is going on. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35321 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/TargetLowering.cpp')
0 files changed, 0 insertions, 0 deletions