[all-commits] [llvm/llvm-project] 33af95: [SLP]Synchronize cost of gather/buildvector nodes ...

Alexey Bataev via All-commits all-commits at lists.llvm.org
Fri Apr 11 06:42:55 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 33af951f3f1196d65aafebabd913abc43d3ce074
      https://github.com/llvm/llvm-project/commit/33af951f3f1196d65aafebabd913abc43d3ce074
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2025-04-11 (Fri, 11 Apr 2025)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    M llvm/test/Transforms/SLPVectorizer/SystemZ/vec-elt-insertion.ll
    M llvm/test/Transforms/SLPVectorizer/X86/lookahead.ll
    M llvm/test/Transforms/SLPVectorizer/X86/multi-incoming-blocks-in-phi.ll
    M llvm/test/Transforms/SLPVectorizer/X86/reduced-val-extracted-and-externally-used.ll
    M llvm/test/Transforms/SLPVectorizer/X86/replaced-external-in-reduction.ll
    M llvm/test/Transforms/SLPVectorizer/X86/select-reduction-op.ll
    M llvm/test/Transforms/SLPVectorizer/X86/vectorize-cmps.ll
    M llvm/test/Transforms/SLPVectorizer/full-overlap-non-schedulable.ll

  Log Message:
  -----------
  [SLP]Synchronize cost of gather/buildvector nodes with codegen

If the buildvector node contains constants and non-constants, need to
consider shuffling of the constant vec and insertion of unique elements
into the vector. Also, if there is an input vector, need to consider the
cost of shuffling source vector and constant vector and then insertion
and shuffling of the non-constant elements.

Reviewers: hiraditya, RKSimon

Reviewed By: RKSimon

Pull Request: https://github.com/llvm/llvm-project/pull/135245



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