[PATCH] D150263: [AArch64][SME2/SVE2p1] Add predicate-as-counter intrinsics for ptrue/cntp

Sander de Smalen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 10 05:52:52 PDT 2023


sdesmalen created this revision.
Herald added subscribers: hiraditya, kristof.beyls, tschuett.
Herald added a project: All.
sdesmalen requested review of this revision.
Herald added subscribers: llvm-commits, jdoerfert.
Herald added a project: LLVM.

These intrinsics are used to implement:

- svptrue_c8(), svptrue_c16(), etc.
- svcntp_c8(svcount_t pnn, uint64_t vl), svcntp_c16(...), etc.

As described in https://github.com/ARM-software/acle/pull/217


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D150263

Files:
  llvm/include/llvm/IR/Intrinsics.h
  llvm/include/llvm/IR/Intrinsics.td
  llvm/include/llvm/IR/IntrinsicsAArch64.td
  llvm/lib/IR/Function.cpp
  llvm/lib/Target/AArch64/SVEInstrFormats.td
  llvm/test/CodeGen/AArch64/sve2p1-intrinsics-cntp.ll
  llvm/test/CodeGen/AArch64/sve2p1-intrinsics-predicate-as-counter.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D150263.520960.patch
Type: text/x-patch
Size: 11662 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230510/894abc22/attachment-0001.bin>


More information about the llvm-commits mailing list