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
Paths
| Differential D150263
[AArch64][SME2/SVE2p1] Add predicate-as-counter intrinsics for ptrue/cntp ClosedPublic Authored by sdesmalen on May 10 2023, 5:52 AM.
Details Summary These intrinsics are used to implement:
As described in https://github.com/ARM-software/acle/pull/217
Diff Detail
Event Timeline
This revision is now accepted and ready to land.May 12 2023, 12:38 AM This revision was landed with ongoing or failed builds.May 12 2023, 1:44 AM Closed by commit rG3b95b818135f: [AArch64][SME2/SVE2p1] Add predicate-as-counter intrinsics for ptrue/cntp (authored by sdesmalen). · Explain Why This revision was automatically updated to reflect the committed changes. sdesmalen marked an inline comment as done.
Revision Contents
Diff 521584 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
|
Do we also want another RUN line for SME2, i.e.
; RUN: llc -mtriple=aarch64-linux-gnu -mattr=+sme2 < %s | FileCheck %s
same as sve2p1-intrinsics-cntp.ll?