[PATCH] D108065: [InstSimplify][AArch64] Eliminate vector reverse of ptrue/dupx intrinsics

David Sherwood via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 16 01:48:30 PDT 2021


david-arm added inline comments.


================
Comment at: llvm/lib/Analysis/VectorUtils.cpp:417
 
+  // aarch64_sve_ptrue(31) is an all true predicate i.e. splat(i1 1).
+  if (match(V, m_Intrinsic<Intrinsic::aarch64_sve_ptrue>(m_SpecificInt(31))))
----------------
To be honest, I'm not sure if this is the right place to be putting AArch64 specific intrinsics. Perhaps lib/Target/AArch64/SVEIntrinsicsOpt.cpp is a better location on this occasion?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D108065



More information about the llvm-commits mailing list