[PATCH] D102939: [AArch64] Lower INSERT_SUBVECTOR to LD1_POST

Andrew Savonichev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 21 11:51:19 PDT 2021


asavonic created this revision.
Herald added subscribers: danielkiss, hiraditya, kristof.beyls.
asavonic requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Before this patch, (insert_subvector (scalar_to_vector) lane) and an
ADD used to generate LDR + INS + ADD (or an offset for a subsequent
LDR). Now this is folded into a single LD1_POST instruction.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D102939

Files:
  llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
  llvm/test/CodeGen/AArch64/aarch64-load-ext.ll
  llvm/test/CodeGen/AArch64/sadd_sat_vec.ll
  llvm/test/CodeGen/AArch64/ssub_sat_vec.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D102939.347089.patch
Type: text/x-patch
Size: 10889 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210521/3602f025/attachment.bin>


More information about the llvm-commits mailing list