[PATCH] D146218: [AArch64][CodeGen] Lower (de)interleave2 intrinsics to ld2/st2

Graham Hunter via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 20 03:15:06 PDT 2023


huntergr updated this revision to Diff 532846.
huntergr added a comment.

- Removed pointer casts. I based the new code a little too closely on the existing shufflevector lowering code.
- Fixed offset calculation to include the interleave Factor.
- Also fixed another bug -- BaseAddr was overwritten with the new GEP value, which increases the offset for later memory operations instead of using the size per load/store. All GEPs now use the original pointer as a base.


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

https://reviews.llvm.org/D146218

Files:
  llvm/include/llvm/CodeGen/TargetLowering.h
  llvm/lib/CodeGen/InterleavedAccessPass.cpp
  llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
  llvm/lib/Target/AArch64/AArch64ISelLowering.h
  llvm/test/Transforms/InterleavedAccess/AArch64/fixed-deinterleave-intrinsics.ll
  llvm/test/Transforms/InterleavedAccess/AArch64/scalable-deinterleave-intrinsics.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D146218.532846.patch
Type: text/x-patch
Size: 60864 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230620/4422a4e7/attachment.bin>


More information about the llvm-commits mailing list