summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
diff options
context:
space:
mode:
authorDavid Green <david.green@arm.com>2021-06-15 17:06:15 +0100
committerDavid Green <david.green@arm.com>2021-06-15 17:06:15 +0100
commit680d3f8f1785adcb128d8727234631fe866acb04 (patch)
treef568e8a9d783355754d5fb0b67163290ea28871e /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
parent2c21278e7471d24bcdb1c8ea2bf1440cb2fa3a4a (diff)
[ARM] Use rq gather/scatters for smaller v4 vectors
A pointer will always fit into an i32, so a rq offset gather/scatter can be used with v4i8 and v4i16 gathers, using a base of 0 and the Ptr as the offsets. The rq gather can then correctly extend the type, allowing us to use the gathers without falling back to scalarizing. This patch rejigs tryCreateMaskedGatherOffset in the MVEGatherScatterLowering pass to decompose the Ptr into Base:0 + Offset:Ptr (with a scale of 1), if the Ptr could not be decomposed from a GEP. v4i32 gathers will already use qi gathers, this extends that to v4i8 and v4i16 gathers using the extending rq variants. Differential Revision: https://reviews.llvm.org/D103674
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions