[AArch64][GlobalISel] Implement selection of <2 x float> vector splat.
authorAmara Emerson <aemerson@apple.com>
Wed, 8 Jan 2020 23:16:55 +0000 (15:16 -0800)
committerAmara Emerson <aemerson@apple.com>
Thu, 9 Jan 2020 22:05:35 +0000 (14:05 -0800)
commitcc95bb1f57c674c0efdfc134eab8ed8c50f2a6e3
tree8be57ac903c5492946d0a5bca9deba8d2018f012
parent016bf03ef6fcd9dce43b0c17971f76323f07a684
[AArch64][GlobalISel] Implement selection of <2 x float> vector splat.

Also requires making G_IMPLICIT_DEF of v2s32 legal.

Differential Revision: https://reviews.llvm.org/D72422
llvm/lib/Target/AArch64/AArch64InstructionSelector.cpp
llvm/lib/Target/AArch64/AArch64LegalizerInfo.cpp
llvm/test/CodeGen/AArch64/GlobalISel/legalize-undef.mir
llvm/test/CodeGen/AArch64/GlobalISel/opt-shuffle-splat.mir
llvm/test/CodeGen/AArch64/arm64-rev.ll