[PATCH] D95677: [AArch64][SVE] Add unpredicated ld1/st1 patterns for reg+reg addressing modes

Bradley Smith via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 29 05:36:45 PST 2021


bsmith created this revision.
Herald added subscribers: NickHung, psnobl, asbirlea, hiraditya, kristof.beyls, tschuett.
Herald added a reviewer: efriedma.
bsmith requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Add unpredicated ld1/st1 patterns for reg+reg addressing modes.

Additionally, avoid pulling calls to the vscale intrinsic out of a loop
in the IR LICM pass. This allows the reg+reg addressing mode patterns to
partially fold the call into the instruction during selection. MachineLICM will
take care of anything not folded.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D95677

Files:
  llvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
  llvm/lib/Transforms/Scalar/LICM.cpp
  llvm/test/CodeGen/AArch64/sve-ld1-addressing-mode-reg-imm.ll
  llvm/test/CodeGen/AArch64/sve-st1-addressing-mode-reg-imm.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D95677.320117.patch
Type: text/x-patch
Size: 20284 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210129/782c006c/attachment.bin>


More information about the llvm-commits mailing list