[all-commits] [llvm/llvm-project] 6b5630: [SLP]Do not reorder the tree to match internal gat...

Alexey Bataev via All-commits all-commits at lists.llvm.org
Wed Sep 23 09:32:23 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6b5630dc25728baad8a4daf8697db2da15e7ed58
      https://github.com/llvm/llvm-project/commit/6b5630dc25728baad8a4daf8697db2da15e7ed58
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2026-09-23 (Wed, 23 Sep 2026)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    M llvm/test/Transforms/SLPVectorizer/AArch64/splat-gather-subtree-reuse.ll

  Log Message:
  -----------
  [SLP]Do not reorder the tree to match internal gathers of splat subtrees

The internal gathers of the splat gather subtrees are not used as
shuffle sources, but still defined the order of the main tree gathers.
The reorder shuffle stayed after the subtree was dropped as
unprofitable and rejected the profitable tree.

Fixes the perf regression from #220250, reported in #221717.

Reviewers: 

Pull Request: https://github.com/llvm/llvm-project/pull/225839



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list