[all-commits] [llvm/llvm-project] dfe1e9: [SLP]Improve reordering of clustered reused scalars.

Andrew V. Tischenko via All-commits all-commits at lists.llvm.org
Mon Sep 12 06:58:36 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: dfe1e9dd79a7be30c777a50ab268341e48408e64
      https://github.com/llvm/llvm-project/commit/dfe1e9dd79a7be30c777a50ab268341e48408e64
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2022-09-12 (Mon, 12 Sep 2022)

  Changed paths:
    M llvm/include/llvm/IR/Instructions.h
    M llvm/lib/IR/Instructions.cpp
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    M llvm/test/Transforms/SLPVectorizer/X86/insert-shuffle.ll
    M llvm/test/Transforms/SLPVectorizer/X86/reduction-logical.ll

  Log Message:
  -----------
  [SLP]Improve reordering of clustered reused scalars.

If the reused scalars are clustered, i.e. each part of the reused mask
contains all elements of the original scalars exactly once, we can
reorder those clusters to improve the whole ordering of of the clustered
vectors.

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




More information about the All-commits mailing list