[PATCH] D75674: [AArch64][SVE] Implement vector tuple intrinsics

Cullen Rhodes via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 22 10:10:44 PDT 2020


c-rhodes updated this revision to Diff 265762.
c-rhodes added a comment.

Changes:

- Moved lowering of vector tuple intrinsics to `AArch64TargetLowering::PerformDAGCombine`.
- Renamed function args in `test/CodeGen/AArch64/sve-intrinsics-create-tuple.ll` from `x<n>` to `z<n>`.
- Fixed bug in lowering of `sve.tuple.set` where the index (of element to update) was being used to extract subvectors from the tuple vector causing the wrong vectors to be copied. Added tests to catch this.


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

https://reviews.llvm.org/D75674

Files:
  llvm/include/llvm/IR/IntrinsicsAArch64.td
  llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
  llvm/test/CodeGen/AArch64/sve-calling-convention-tuple-types.ll
  llvm/test/CodeGen/AArch64/sve-intrinsics-create-tuple.ll
  llvm/test/CodeGen/AArch64/sve-intrinsics-insert-extract-tuple.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D75674.265762.patch
Type: text/x-patch
Size: 77304 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200522/8e718272/attachment-0001.bin>


More information about the llvm-commits mailing list