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

David Sherwood via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 11 07:39:35 PDT 2023


david-arm added inline comments.


================
Comment at: llvm/test/CodeGen/AArch64/sve2p1-intrinsics-predicate-as-counter.ll:3
+; RUN: llc -mtriple=aarch64 -mattr=+sve2p1 < %s | FileCheck %s
+
+define target("aarch64.svcount") @ptrue_b() nounwind {
----------------
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?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D150263/new/

https://reviews.llvm.org/D150263



More information about the llvm-commits mailing list