[all-commits] [llvm/llvm-project] 9fdbfe: [SLP] Fix SmallVector<VFInfo> static assertion in ...

Wenju He via All-commits all-commits at lists.llvm.org
Fri Aug 7 05:54:39 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9fdbfe22780c0b4f363594d87090bbc92334e5eb
      https://github.com/llvm/llvm-project/commit/9fdbfe22780c0b4f363594d87090bbc92334e5eb
  Author: Wenju He <wenju.he at intel.com>
  Date:   2026-08-07 (Fri, 07 Aug 2026)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer/SLPCompatibilityAnalysis.cpp

  Log Message:
  -----------
  [SLP] Fix SmallVector<VFInfo> static assertion in SLPCompatibilityAnalysis (#214639)

sizeof(VFInfo) is 280 bytes, exceeding SmallVector's default 256-byte
inline-storage limit, which trips a static_assert in debug builds.
Explicitly specify an inline element count of 4, matching the existing
convention used elsewhere for SmallVector<VFInfo, N> (e.g.
Intel_SLPVectorizer.cpp, VectorUtils.h).
Guilty commit: fb831c73635a

Co-authored-by: Claude Sonnet 5 <noreply at anthropic.com>



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