[PATCH] D141936: [AArch64][SVE2p1] Add SVE2.1 while (predicate-pair) intrinsics

David Sherwood via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 17 07:38:02 PST 2023


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

Adds intrinsics for the following instructions:

- WHILEGE (predicate pair)
- WHILEGT (predicate pair)
- WHILEHI (predicate pair)
- WHILEHS (predicate pair)
- WHILELE (predicate pair)
- WHILELO (predicate pair)
- WHILELS (predicate pair)
- WHILELT (predicate pair)

I've added an opcode selector called SelectOpcodeFromVT to
AArch64ISelDAGToDAG.cpp that we will extend in future to
select opcodes from different MVTs. For now, the only use is
for selecting predicate types.

NOTE: These intrinsics are still in development and are subject
to future changes.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D141936

Files:
  llvm/include/llvm/IR/IntrinsicsAArch64.td
  llvm/lib/Target/AArch64/AArch64ISelDAGToDAG.cpp
  llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
  llvm/test/CodeGen/AArch64/sve2p1-intrinsics-while-pp.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D141936.489819.patch
Type: text/x-patch
Size: 38697 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230117/54b73629/attachment.bin>


More information about the llvm-commits mailing list