[all-commits] [llvm/llvm-project] 6fb5be: [SLP]Do not create unused gather nodes for scalar ...

Andrew V. Tischenko via All-commits all-commits at lists.llvm.org
Mon Nov 15 06:13:52 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6fb5bed7d16bffc8549db0523323b182dd43fe4e
      https://github.com/llvm/llvm-project/commit/6fb5bed7d16bffc8549db0523323b182dd43fe4e
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2021-11-15 (Mon, 15 Nov 2021)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    M llvm/test/Transforms/SLPVectorizer/X86/intrinsic_with_scalar_param.ll

  Log Message:
  -----------
  [SLP]Do not create unused gather nodes for scalar arguments of vector intrinsics.

If the vector intrinsic has scalar argument, we currently still create
a tree entry for this argument. This entry is not used, just consumes
resources and increases the cost of the tree.

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




More information about the All-commits mailing list