[all-commits] [llvm/llvm-project] 10844f: [SLP]Fix attempt to build the reorder mask for non...

Alexey Bataev via All-commits all-commits at lists.llvm.org
Tue Feb 11 13:42:15 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 10844fb9b0b78695243391e091e17ec29295872a
      https://github.com/llvm/llvm-project/commit/10844fb9b0b78695243391e091e17ec29295872a
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2025-02-11 (Tue, 11 Feb 2025)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    A llvm/test/Transforms/SLPVectorizer/SystemZ/reuse-non-power-of-2-reorder.ll

  Log Message:
  -----------
  [SLP]Fix attempt to build the reorder mask for non-adjusted reuse mask

When building the reorder for non-single use reuse mask, need to check
if the size of the mask is multiple of the number of unique scalars.
  Otherwise, the compiler may crash when trying to reorder nodes.

Fixes #126304



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