[all-commits] [llvm/llvm-project] bf4afb: [CostModel] improveShuffleKindFromMask - recognise...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Mon Jun 23 12:21:08 PDT 2025


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

  Changed paths:
    M llvm/include/llvm/CodeGen/BasicTTIImpl.h
    M llvm/test/Analysis/CostModel/AMDGPU/shufflevector.ll
    M llvm/test/Transforms/SLPVectorizer/AArch64/InstructionsState-is-invalid-0.ll
    M llvm/test/Transforms/VectorCombine/X86/permute-of-binops.ll

  Log Message:
  -----------
  [CostModel] improveShuffleKindFromMask - recognise a SK_PermuteSingleSrc incorrectly tagged as SK_PermuteTwoSrc (#145352)

If a SK_PermuteTwoSrc shuffle kind's mask only references the first
operand, then treat this as SK_PermuteSingleSrc

Part of #145335



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