summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2017-04-24 17:18:47 +0000
committerCraig Topper <craig.topper@gmail.com>2017-04-24 17:18:47 +0000
commit8b37326ae2363c51ca33362cd49b28b9d624750e (patch)
tree5ca7f1a0c09b0fa553c37dc71ae1dd8cc56f6706 /lldb/packages/Python/lldbsuite/test/python_api
parent5dea6451389b97186760db15c3b1c3fc033d5ad1 (diff)
downloadbcm5719-llvm-8b37326ae2363c51ca33362cd49b28b9d624750e.tar.gz
bcm5719-llvm-8b37326ae2363c51ca33362cd49b28b9d624750e.zip
[APInt] Add ashrInPlace method and rewrite ashr to make a copy and then call ashrInPlace.
This patch adds an in place version of ashr to match lshr and shl which were recently added. I've tried to make this similar to the lshr code with additions to handle the sign extension. I've also tried to do this with less if checks than the current ashr code by sign extending the original result to a word boundary before doing any of the shifting. This removes a lot of the complexity of determining where to fill in sign bits after the shifting. Differential Revision: https://reviews.llvm.org/D32415 llvm-svn: 301198
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud