[all-commits] [llvm/llvm-project] fbf3ce: [SLP]Vectorize the longer store groups first

Alexey Bataev via All-commits all-commits at lists.llvm.org
Tue Sep 29 12:27:18 PDT 2026


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

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    M llvm/test/Transforms/SLPVectorizer/X86/store-chains-shared-values.ll

  Log Message:
  -----------
  [SLP]Vectorize the longer store groups first

A shorter store group that shares scalars with a longer one splits the
longer chain when it is vectorized first. Process the groups with more
stores first, so the shorter ones reuse their vectors.

Fixes #215998

Reviewers: 

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



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