[all-commits] [llvm/llvm-project] eb7f12: [SLP]Fix narrowed leaf masks for demoted reduction...

Alexey Bataev via All-commits all-commits at lists.llvm.org
Mon Sep 28 08:01:52 PDT 2026


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

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    A llvm/test/Transforms/SLPVectorizer/X86/narrowed-reduction-minbw-root.ll

  Log Message:
  -----------
  [SLP]Fix narrowed leaf masks for demoted reduction root

The root of the narrowed-leaf reduction may be demoted and resized to the
reduction bitwidth of the wide reduction operations, while the masks are
built for the narrow leaves type, causes the crash.

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

Reviewers: 

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



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