[PATCH] D59558: [AArch64][GlobalISel] Add an optimization to select vector DUP instructions
Amara Emerson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 19 13:28:21 PDT 2019
aemerson created this revision.
aemerson added a reviewer: paquette.
aemerson added a project: LLVM.
Herald added subscribers: Petar.Avramovic, hiraditya, kristof.beyls, javed.absar, rovka.
This adds pattern matching for the insert+shufflevector sequence so we can generate dup instructions instead of the current TBL sequence.
Currently doesn't handle vectors < 128b in size yet.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D59558
Files:
llvm/lib/Target/AArch64/AArch64InstructionSelector.cpp
llvm/test/CodeGen/AArch64/GlobalISel/opt-shuffle-splat.mir
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D59558.191382.patch
Type: text/x-patch
Size: 9058 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190319/ccfb4eae/attachment.bin>
More information about the llvm-commits
mailing list