[all-commits] [llvm/llvm-project] ac217e: [SLP] Check for PHI nodes (potentially cycles!) wh...

Alexey Bataev via All-commits all-commits at lists.llvm.org
Thu Feb 13 14:25:04 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ac217ee389d63124432e5e6890851a678f7a676b
      https://github.com/llvm/llvm-project/commit/ac217ee389d63124432e5e6890851a678f7a676b
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2025-02-13 (Thu, 13 Feb 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-node-with-cycle.ll

  Log Message:
  -----------
  [SLP] Check for PHI nodes (potentially cycles!) when checking dependencies

When checking for dependecies for gather nodes with users with the same
last instruction, cannot rely on the index order, if there is (even
potential!) cycle in the graph, which may cause order not work correctly
and cause compiler crash.

Fixes #127128



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