[all-commits] [llvm/llvm-project] db6ba8: [SLP] Do not match the gather node with copyable p...

Alexey Bataev via All-commits all-commits at lists.llvm.org
Wed Oct 29 11:51:15 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: db6ba82acc767651ee59d249d717706be7239953
      https://github.com/llvm/llvm-project/commit/db6ba82acc767651ee59d249d717706be7239953
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2025-10-29 (Wed, 29 Oct 2025)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    A llvm/test/Transforms/SLPVectorizer/X86/gathered-node-with-in-order-parent.ll

  Log Message:
  -----------
  [SLP] Do not match the gather node with copyable parent, containing insert instruction

If the gather/buildvector node has the match and this matching node has
a scheduled copyable parent, and the parent node of the original node
has a last instruction, which is non-schedulable and is part of the
schedule copyable parent, such matching node should be excluded as
non-matching, since it produces wrong def-use chain.

Fixes #165435



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