[all-commits] [llvm/llvm-project] 7b809c: [SLP]Improve compile time, NFC.

Andrew V. Tischenko via All-commits all-commits at lists.llvm.org
Thu May 26 08:48:33 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7b809c30b9261b167cf55ce289eccf88c6000c65
      https://github.com/llvm/llvm-project/commit/7b809c30b9261b167cf55ce289eccf88c6000c65
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2022-05-26 (Thu, 26 May 2022)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp

  Log Message:
  -----------
  [SLP]Improve compile time, NFC.

Patch improves compile time. For function calls, which cannot be
vectorized, create a unique group for each such a call instead of
subgroup. It prevents them from being grouped by a subgroups and
attempts for their vectorization.

Also, looks through casts operand to try to check their
groups/subgroups.

Reduces number of vectorization attempts. No changes in the statistics
for SPEC2017/2006/llvm-test-suite.

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




More information about the All-commits mailing list