[all-commits] [llvm/llvm-project] 202137: [SLP]Fix a crash on matching gather operands of ph...

Alexey Bataev via All-commits all-commits at lists.llvm.org
Wed Mar 12 14:46:28 PDT 2025


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

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    M llvm/test/Transforms/SLPVectorizer/X86/delayed-gather-emission.ll
    M llvm/test/Transforms/SLPVectorizer/X86/matching-gather-nodes-phi-users.ll
    A llvm/test/Transforms/SLPVectorizer/X86/phi-nodes-incoming-same-blocks.ll

  Log Message:
  -----------
  [SLP]Fix a crash on matching gather operands of phi nodes in loops

If the gather operands in phi nodes are matching and phi nodes may build
up a loop, it may cause a compiler crash with the incorrect def-use
chain. Patch fixes this 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