[all-commits] [llvm/llvm-project] 8af472: [SLP]Try to vectorize tiny trees with shuffled gat...

cilkplus via All-commits all-commits at lists.llvm.org
Wed Apr 28 06:43:30 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8af4723c5819e1c20c423987cd560d6f981b3d5c
      https://github.com/llvm/llvm-project/commit/8af4723c5819e1c20c423987cd560d6f981b3d5c
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2021-04-28 (Wed, 28 Apr 2021)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    M llvm/test/Transforms/SLPVectorizer/X86/tiny-tree.ll

  Log Message:
  -----------
  [SLP]Try to vectorize tiny trees with shuffled gathers.

If the first tree element is vectorize and the second is gather, it
still might be profitable to vectorize it if the gather node contains
less scalars to vectorize than the original tree node. It might be
profitable to use shuffles.

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




More information about the All-commits mailing list