[all-commits] [llvm/llvm-project] 7d5659: [SLP]Do not create copyable node, if parent node i...

Alexey Bataev via All-commits all-commits at lists.llvm.org
Mon Nov 3 08:00:48 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7d5659083cb21722416b38fe92b7200fe89be232
      https://github.com/llvm/llvm-project/commit/7d5659083cb21722416b38fe92b7200fe89be232
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2025-11-03 (Mon, 03 Nov 2025)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    A llvm/test/Transforms/SLPVectorizer/X86/parent-non-schedule-multi-use-in-binop.ll

  Log Message:
  -----------
  [SLP]Do not create copyable node, if parent node is non-schedulable and has a use in binop.

If the parent node is non-schedulable (only externally used instructions), and at least one instruction has multiple uses and used in the binop, such copyable node should be created. Otherwise, it may contain wrong def-use chain model, which cannot be effective detected.

Fixes #166035



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