[llvm-branch-commits] [llvm] [LV] Mask off possibly aliasing vector lanes (PR #100579)

Sander de Smalen via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Fri Aug 8 09:05:16 PDT 2025


================
@@ -5535,6 +5540,11 @@ InstructionCost AArch64TTIImpl::getPartialReductionCost(
   return Cost;
 }
 
+bool AArch64TTIImpl::useSafeEltsMask(ElementCount VF) const {
+  // The whilewr/rw instructions require SVE2
+  return ST->hasSVE2();
----------------
sdesmalen-arm wrote:

This is also supported for SME.

https://github.com/llvm/llvm-project/pull/100579


More information about the llvm-branch-commits mailing list