[all-commits] [llvm/llvm-project] a4aa6b: [SLP]Fix PR106667: carefully look for operand nodes.

Alexey Bataev via All-commits all-commits at lists.llvm.org
Fri Aug 30 10:34:04 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a4aa6bc8fc2130761b8db5db4748059127662785
      https://github.com/llvm/llvm-project/commit/a4aa6bc8fc2130761b8db5db4748059127662785
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2024-08-30 (Fri, 30 Aug 2024)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    A llvm/test/Transforms/SLPVectorizer/X86/multi-nodes-bv-vectorized.ll

  Log Message:
  -----------
  [SLP]Fix PR106667: carefully look for operand nodes.

If the operand node has the same scalars as one of the vectorized nodes,
the compiler could miss this and incorrectly request minbitwidth data
for the wrong node. It may lead to a compiler crash, because the
  vectorized node might have different minbw result.

Fixes https://github.com/llvm/llvm-project/issues/106667



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