[all-commits] [llvm/llvm-project] b51195: [SLP]Fix PR63854: Add proper sorting of pointers f...

Alexey Bataev via All-commits all-commits at lists.llvm.org
Tue Aug 22 06:17:12 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b51195dece56f1d73dfc60986310cebb5295dabe
      https://github.com/llvm/llvm-project/commit/b51195dece56f1d73dfc60986310cebb5295dabe
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2023-08-22 (Tue, 22 Aug 2023)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    M llvm/test/Transforms/SLPVectorizer/RISCV/strided-loads.ll
    M llvm/test/Transforms/SLPVectorizer/X86/gep-nodes-with-non-gep-inst.ll
    M llvm/test/Transforms/SLPVectorizer/X86/remark_gather-load-redux-cost.ll

  Log Message:
  -----------
  [SLP]Fix PR63854: Add proper sorting of pointers for masked stores.

If the masked gathers can be reordered, it may produce strided access
pattern and the reordering does not affect common reodering, better to
try to reorder masked gathers for better performance.

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




More information about the All-commits mailing list