[all-commits] [llvm/llvm-project] afc9e7: [SLP]Improve cost model for the shuffled extracts.

Andrew V. Tischenko via All-commits all-commits at lists.llvm.org
Wed Dec 1 08:12:24 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: afc9e7517ada7568b60187a1eeb104e8a6b03877
      https://github.com/llvm/llvm-project/commit/afc9e7517ada7568b60187a1eeb104e8a6b03877
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2021-12-01 (Wed, 01 Dec 2021)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    M llvm/test/Transforms/SLPVectorizer/X86/cmp_commute-inseltpoison.ll
    M llvm/test/Transforms/SLPVectorizer/X86/cmp_commute.ll
    M llvm/test/Transforms/SLPVectorizer/X86/load-merge-inseltpoison.ll
    M llvm/test/Transforms/SLPVectorizer/X86/load-merge.ll
    M llvm/test/Transforms/SLPVectorizer/X86/vec_list_bias-inseltpoison.ll
    M llvm/test/Transforms/SLPVectorizer/X86/vec_list_bias.ll

  Log Message:
  -----------
  [SLP]Improve cost model for the shuffled extracts.

Improved the calculation of the shuffled extracts, where possible. Need
to calculate the cost for the extracted scalars if some users are not
insertelements + improved the total estimation of the shuffled scalars
used in insertelements build vectors.

Differential Revision: https://reviews.llvm.org/D113782




More information about the All-commits mailing list