[all-commits] [llvm/llvm-project] f953b5: [SLP]Relax assertion about subvectors mask size

Alexey Bataev via All-commits all-commits at lists.llvm.org
Mon Nov 25 08:35:33 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f953b5eb72df77fc301aac210eab31c6270ff771
      https://github.com/llvm/llvm-project/commit/f953b5eb72df77fc301aac210eab31c6270ff771
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2024-11-25 (Mon, 25 Nov 2024)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    A llvm/test/Transforms/SLPVectorizer/X86/non-power-of-2-subvectors-insert.ll

  Log Message:
  -----------
  [SLP]Relax assertion about subvectors mask size

SubVectorsMask might be less than CommonMask, if the vectors with larger
number of elements are permuted or reused elements are used. Need to
consider this when estimation/building the vector to avoid compiler
crash

Fixes #117518



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