[all-commits] [llvm/llvm-project] 57bbdb: [SLP]Relax assertion in mask combine for non-power...

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


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 57bbdbd7ae3698a274edd4dd6ef1b53d9129e552
      https://github.com/llvm/llvm-project/commit/57bbdbd7ae3698a274edd4dd6ef1b53d9129e552
  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-2-num-elems-reused.ll

  Log Message:
  -----------
  [SLP]Relax assertion in mask combine for non-power-of-2 number of elements

The nodes may contain non-power-of-2 number of elements. Need to relax
the assertion to avoid possible compiler crash

Fixes #117517



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