summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/PowerPC/PPCISelLowering.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
commitd8aad61d4db37c2edb0b0dc59e860a2678d757cf (patch)
tree6f073c35a5ecf7344eadc6644af12b87cfb862cf /llvm/lib/Target/PowerPC/PPCISelLowering.cpp
parent927f30da08b808d04fc10665430d8d0449198fbf (diff)
downloadbcm5719-llvm-d8aad61d4db37c2edb0b0dc59e860a2678d757cf.tar.gz
bcm5719-llvm-d8aad61d4db37c2edb0b0dc59e860a2678d757cf.zip
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. llvm-svn: 35321
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCISelLowering.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud