aboutsummaryrefslogtreecommitdiff
path: root/lldb/unittests/ScriptInterpreter/Python
diff options
context:
space:
mode:
authorJessica Paquette <jpaquette@apple.com>2020-06-16 15:57:28 -0700
committerJessica Paquette <jpaquette@apple.com>2020-06-25 14:19:06 -0700
commit7fb84dff69572b59dc730f9616fea918bedc7384 (patch)
treed833573a6317edd0ec1dbc6f34437706c56ec363 /lldb/unittests/ScriptInterpreter/Python
parent2c09e910545950f966d282a5d567ae85c8976252 (diff)
downloadllvm-7fb84dff69572b59dc730f9616fea918bedc7384.zip
llvm-7fb84dff69572b59dc730f9616fea918bedc7384.tar.gz
llvm-7fb84dff69572b59dc730f9616fea918bedc7384.tar.bz2
[AArch64][GlobalISel] Port buildvector -> dup pattern from AArch64ISelLowering
Given this: ``` %x:_(<n x sK>) = G_BUILD_VECTOR %lane, ... ... %y:_(<n x sK>) = G_SHUFFLE_VECTOR %x(<n x sK>), %foo, shufflemask(0, 0, ...) ``` We can produce: ``` %y:_(<n x sK) = G_DUP %lane(sK) ``` Doesn't seem to be too common, but AArch64ISelLowering attempts to do this before trying to produce a DUPLANE. Might as well port it. Also make it so that when the splat has an undef mask, we try setting it to 0. SDAG does this, and it makes sure that when we get the build vector operand, we actually get a source operand. Differential Revision: https://reviews.llvm.org/D81979
Diffstat (limited to 'lldb/unittests/ScriptInterpreter/Python')
0 files changed, 0 insertions, 0 deletions