[PATCH] D136858: [AArch64-SVE]: Force generating code compatible to streaming mode for sve-fixed-length tests.

Hassnaa Hamdi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 27 09:40:21 PDT 2022


hassnaa-arm created this revision.
hassnaa-arm added reviewers: sdesmalen, david-arm.
Herald added subscribers: ctetreau, hiraditya, kristof.beyls, tschuett.
Herald added a project: All.
hassnaa-arm requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Add testing files and enable streaming mode flag for:
bit-counting.ll
bitselect.ll
insert-vector-elt.ll
subvector.ll
vector-shuffle.ll
Add needed changes to force generateing code compatible to streaming mode:
1- enable custom lowering for CTLZ and CTPOP, (needed for bit-counting.ll test).
2- enable custom lowering for insert_vector_elt, (needed for insert-vector-elt.ll test).
3- enable custom lowering for vector SETCC, (needed for subvector.ll test).
4- disable combining or into BSL, (needed for bit-select.ll test).
5- use SVE OR instruction instead of NEON OR, during copying phyReg -AArch64InstrInfo::copyPhysReg-, (needed for vector-shuffle).


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D136858

Files:
  llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
  llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
  llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-bit-counting.ll
  llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-bitselect.ll
  llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-insert-vector-elt.ll
  llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-subvector.ll
  llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-vector-shuffle.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D136858.471197.patch
Type: text/x-patch
Size: 70540 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221027/ca2f98a0/attachment.bin>


More information about the llvm-commits mailing list