[all-commits] [llvm/llvm-project] 65fc99: [SLP]Early exit out of the reordering if shuffled/...

Andrew V. Tischenko via All-commits all-commits at lists.llvm.org
Thu Dec 16 11:10:52 PST 2021


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

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

  Log Message:
  -----------
  [SLP]Early exit out of the reordering if shuffled/perfect diamond match found.

Need to early exit out of the reordering process if the perfect/shuffled match is found in the operands. Such pattern will result in not profitable reordering because of (false positive) external use of scalars.

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




More information about the All-commits mailing list