summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/expression_command/expr-in-syscall
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@intel.com>2018-03-14 17:57:19 +0000
committerCraig Topper <craig.topper@intel.com>2018-03-14 17:57:19 +0000
commit9c098ed819b87a95a57d00bdacf7c7a2a2989bbf (patch)
treecd6d8938e24cc5c100044ef008dfe55aa06c2435 /lldb/packages/Python/lldbsuite/test/expression_command/expr-in-syscall
parentfe3aae2a7655d33cd005a3e067db6912dcdc658b (diff)
downloadbcm5719-llvm-9c098ed819b87a95a57d00bdacf7c7a2a2989bbf.tar.gz
bcm5719-llvm-9c098ed819b87a95a57d00bdacf7c7a2a2989bbf.zip
[X86] Add back fast-isel code for handling i8 shifts.
I removed this in r316797 because the coverage report showed no coverage and I thought it should have been handled by the auto generated table. I now see that there is code that bypasses the table if the shift amount is out of bounds. This adds back the code. We'll codegen out of bounds i8 shifts to effectively (amount & 0x1f). The 0x1f is a strange quirk of x86 that shift amounts are always masked to 5-bits(except 64-bits). So if the masked value is still out bounds the result will be 0. Fixes PR36731. llvm-svn: 327540
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/expression_command/expr-in-syscall')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud