diff options
author | David Green <david.green@arm.com> | 2019-09-03 09:57:02 +0000 |
---|---|---|
committer | David Green <david.green@arm.com> | 2019-09-03 09:57:02 +0000 |
commit | 3e8d5f335da2557a5780c7f51e0cc93574731030 (patch) | |
tree | 56e64bd68db61fd140e2d148dbc21e4f3a33da59 /lldb/packages/Python/lldbsuite/test/commands/command/script/TestCommandScript.py | |
parent | 3be2df2418ee8b70c3051203b56ac422e8108a3f (diff) | |
download | bcm5719-llvm-3e8d5f335da2557a5780c7f51e0cc93574731030.tar.gz bcm5719-llvm-3e8d5f335da2557a5780c7f51e0cc93574731030.zip |
[ARM] Fix MVE ldst offset ranges
We were using isShiftedInt<7, Shift>(RHSC) to detect the ranges of offsets to
fold into MVE loads/stores. The instructions actually take a 7 bit unsigned
integer which is either added or subtracted. So something more like
isShiftedUInt<7, Shift>(abs(RHSC)).
Instead I've changes this to use the isScaledConstantInRange method, same as in
SelectT2AddrModeImm7Offset used by pre/post inc, which seemed to already be
getting this correct.
Differential revision: https://reviews.llvm.org/D66997
llvm-svn: 370731
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/commands/command/script/TestCommandScript.py')
0 files changed, 0 insertions, 0 deletions