[AArch64][GlobalISel] Add selection support for G_VECREDUCE of <2 x i32>
authorAmara Emerson <amara@apple.com>
Sat, 20 Feb 2021 08:38:17 +0000 (00:38 -0800)
committerAmara Emerson <amara@apple.com>
Sat, 20 Feb 2021 08:39:38 +0000 (00:39 -0800)
commit067ec53df155e5bbe1c7a9c940f02bad6e36d9de
tree3abb1d16e23cc7794d1cca54b2dc60e8cae0f351
parent7b5f0050a9019e03ceda6cc7dbaadf56c71ec211
[AArch64][GlobalISel] Add selection support for G_VECREDUCE of <2 x i32>

This selects to a pairwise add and a subreg copy.
llvm/lib/Target/AArch64/GISel/AArch64InstructionSelector.cpp
llvm/test/CodeGen/AArch64/GlobalISel/select-reduce-add.mir