[AArch64][GlobalISel] Manually select G_DUP with s8/s16 gpr scalar operands.
authorAmara Emerson <amara@apple.com>
Fri, 25 Sep 2020 08:28:50 +0000 (01:28 -0700)
committerAmara Emerson <amara@apple.com>
Fri, 25 Sep 2020 08:59:16 +0000 (01:59 -0700)
commitf7b36b35b69a3f100c740ac4bcd933fcdce58798
tree941f3a5d52027fafc12ac498aec6a94becf17b44
parentade6fa46f94b31e89c8a488264ac79e319d1ccdb
[AArch64][GlobalISel] Manually select G_DUP with s8/s16 gpr scalar operands.

These don't get selected by the imported patterns, and avoiding generating them
is a whole load of not-worth-it-hassle (until we have fp types in GlobalISel).
llvm/lib/Target/AArch64/GISel/AArch64InstructionSelector.cpp
llvm/test/CodeGen/AArch64/GlobalISel/select-dup.mir