[all-commits] [llvm/llvm-project] fbf027: [SLP] Reorder reuses mask, if it is not empty, for...

Alexey Bataev via All-commits all-commits at lists.llvm.org
Fri Mar 14 14:14:19 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fbf0276b6a7a7a4508c373cf87fc349569652659
      https://github.com/llvm/llvm-project/commit/fbf0276b6a7a7a4508c373cf87fc349569652659
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2025-03-14 (Fri, 14 Mar 2025)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    A llvm/test/Transforms/SLPVectorizer/X86/reorder-reused-subvector.ll

  Log Message:
  -----------
  [SLP] Reorder reuses mask, if it is not empty, for subvector operands

If the subvector operands has reuses mask, need to reorder the mask, not
the scalars, to prevent compiler crash due to mask/scalars size
mismatch.

Fixes #131360



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