[all-commits] [llvm/llvm-project] 1182be: [SLP]Fix a crash for buildvector nodes with parent...

Alexey Bataev via All-commits all-commits at lists.llvm.org
Thu Mar 6 07:45:19 PST 2025


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

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    A llvm/test/Transforms/SLPVectorizer/X86/buildvectors-parent-phi-nodes.ll

  Log Message:
  -----------
  [SLP]Fix a crash for buildvector nodes with parent phi nodes with same incoming blocks

If trying to find matching buildvector node for another nodes, and both
nodes are used by vectorized phi nodes and are coming from the same
parent block, this nodes should be considered matched to avoid a crash.



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