[all-commits] [llvm/llvm-project] 2682a9: [SLP][REVEC] Add ExtractSubvector cost for Externa...

Han-Kuan Chen via All-commits all-commits at lists.llvm.org
Tue Mar 25 03:59:16 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2682a9433bb5df0efd9e926947ae289f6e8aecde
      https://github.com/llvm/llvm-project/commit/2682a9433bb5df0efd9e926947ae289f6e8aecde
  Author: Han-Kuan Chen <hankuan.chen at sifive.com>
  Date:   2025-03-25 (Tue, 25 Mar 2025)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    A llvm/test/Transforms/SLPVectorizer/X86/revec-ExtractSubvector.ll
    M llvm/test/Transforms/SLPVectorizer/revec-shufflevector.ll

  Log Message:
  -----------
  [SLP][REVEC] Add ExtractSubvector cost for ExternalUses. (#132761)

For llvm/test/Transforms/SLPVectorizer/revec-shufflevector.ll,
ScalarCost and ExtraCost is 1, so the original scalar will be kept.



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