[PATCH] D97858: [AArch64][SVE] Fold vector ZExt/SExt into gather loads where possible

Joe Ellis via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 5 06:11:33 PST 2021


joechrisellis updated this revision to Diff 328499.
joechrisellis marked 3 inline comments as done.
joechrisellis added a comment.

Address review comments.

- @kmclaughlin:
  - better variable names.
  - use helper functions to determine new opcode for gather load.

I've also made the function a little more general, since we might want to extend this function to capture other optimisation patterns in the future.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D97858/new/

https://reviews.llvm.org/D97858

Files:
  llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
  llvm/test/CodeGen/AArch64/sve-intrinsics-gather-loads-64bit-scaled-offset.ll
  llvm/test/CodeGen/AArch64/sve-intrinsics-gather-loads-64bit-unscaled-offset.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D97858.328499.patch
Type: text/x-patch
Size: 31027 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210305/f37d9f78/attachment.bin>


More information about the llvm-commits mailing list