[llvm] [AArch64][CostModel] Lower cost of dupq (SVE2.1) (PR #144918)
    Sander de Smalen via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Fri Jun 20 06:59:11 PDT 2025
    
    
  
================
@@ -5583,6 +5583,26 @@ InstructionCost AArch64TTIImpl::getShuffleCost(
     Kind = TTI::SK_PermuteSingleSrc;
   }
 
+  // Segmented shuffle matching.
+  if (ST->hasSVE2p1() && CostKind == TTI::TCK_RecipThroughput &&
----------------
sdesmalen-arm wrote:
This instruction is also enabled under `FEAT_SME2p1`
https://github.com/llvm/llvm-project/pull/144918
    
    
More information about the llvm-commits
mailing list