[all-commits] [llvm/llvm-project] 3b95b8: [AArch64][SME2/SVE2p1] Add predicate-as-counter in...

sdesmalen-arm via All-commits all-commits at lists.llvm.org
Fri May 12 01:44:23 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3b95b818135f85376082621149e59c297f640c14
      https://github.com/llvm/llvm-project/commit/3b95b818135f85376082621149e59c297f640c14
  Author: Sander de Smalen <sander.desmalen at arm.com>
  Date:   2023-05-12 (Fri, 12 May 2023)

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

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

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

Reviewed By: david-arm

Differential Revision: https://reviews.llvm.org/D150263


  Commit: c89266448666262a3fc3b2f620d65078b4edd0ba
      https://github.com/llvm/llvm-project/commit/c89266448666262a3fc3b2f620d65078b4edd0ba
  Author: Sander de Smalen <sander.desmalen at arm.com>
  Date:   2023-05-12 (Fri, 12 May 2023)

  Changed paths:
    M llvm/include/llvm/IR/IntrinsicsAArch64.td
    M llvm/lib/Target/AArch64/SVEInstrFormats.td
    A llvm/test/CodeGen/AArch64/sve2p1-intrinsics-while-pn.ll

  Log Message:
  -----------
  [AArch64][SME2/SVE2p1] Add predicate-as-counter intrinsics for while*

These intrinsics are used to implement the while intrinsics that result
in a predicate-as-counter value, e.g.

  __attribute__((arm_streaming))
  svcount_t svwhilelt_c8(int64_t rn, int64_t rm, uint64_t vl)

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

Reviewed By: hassnaa-arm

Differential Revision: https://reviews.llvm.org/D150265


Compare: https://github.com/llvm/llvm-project/compare/773b0aaa4917...c89266448666


More information about the All-commits mailing list