[all-commits] [llvm/llvm-project] 7cdbde: [CostModel][X86] getShuffleCost - use processShuff...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Mon Jan 6 05:33:17 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7cdbde70fad454be6a07464befdfd3995287b0fb
      https://github.com/llvm/llvm-project/commit/7cdbde70fad454be6a07464befdfd3995287b0fb
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2025-01-06 (Mon, 06 Jan 2025)

  Changed paths:
    M llvm/lib/Target/X86/X86TargetTransformInfo.cpp
    M llvm/test/Analysis/CostModel/X86/alternate-shuffle-cost.ll
    M llvm/test/Analysis/CostModel/X86/shuffle-insert_subvector-codesize.ll
    M llvm/test/Analysis/CostModel/X86/shuffle-insert_subvector-latency.ll
    M llvm/test/Analysis/CostModel/X86/shuffle-insert_subvector-sizelatency.ll
    M llvm/test/Analysis/CostModel/X86/shuffle-insert_subvector.ll
    M llvm/test/Analysis/CostModel/X86/shuffle-select-codesize.ll
    M llvm/test/Analysis/CostModel/X86/shuffle-select-latency.ll
    M llvm/test/Analysis/CostModel/X86/shuffle-select-sizelatency.ll
    M llvm/test/Analysis/CostModel/X86/shuffle-select.ll
    M llvm/test/Analysis/CostModel/X86/shuffle-splice-codesize.ll
    M llvm/test/Analysis/CostModel/X86/shuffle-splice-latency.ll
    M llvm/test/Analysis/CostModel/X86/shuffle-splice-sizelatency.ll
    M llvm/test/Analysis/CostModel/X86/shuffle-splice.ll
    M llvm/test/Transforms/PhaseOrdering/X86/hadd.ll
    M llvm/test/Transforms/PhaseOrdering/X86/hsub.ll
    M llvm/test/Transforms/VectorCombine/X86/extract-fneg-insert.ll

  Log Message:
  -----------
  [CostModel][X86] getShuffleCost - use processShuffleMasks for all shuffle kinds to legal types (#120599) (#121760)

Now that processShuffleMasks can correctly handle 2 src shuffles, we can completely remove the shuffle kind limits and correctly recognize the number of active subvectors per legalized shuffle - improveShuffleKindFromMask will determine the shuffle kind for each split subvector.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list