[all-commits] [llvm/llvm-project] eea552: [SLP]Fix reused scales for sub-fields gathered in ...

Alexey Bataev via All-commits all-commits at lists.llvm.org
Sun Sep 27 12:35:44 PDT 2026


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

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    M llvm/test/Transforms/SLPVectorizer/X86/extracted-subfields.ll

  Log Message:
  -----------
  [SLP]Fix reused scales for sub-fields gathered in natural order

The reduction root sub-fields were emitted in the natural order, but the
reused values were scaled by the original lane order. Reorder the root
scalars instead.

Fixes https://github.com/llvm/llvm-project/pull/224919#issuecomment-5858504241

Reviewers: 

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



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