[all-commits] [llvm/llvm-project] 0fdfad: [SLP]Fix insert point for copyable node with the l...

Alexey Bataev via All-commits all-commits at lists.llvm.org
Fri Oct 17 06:00:21 PDT 2025


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

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    A llvm/test/Transforms/SLPVectorizer/X86/last-non-copyable-inst-used-outside-bb.ll

  Log Message:
  -----------
  [SLP]Fix insert point for copyable node with the last inst, used only outside the block

If the copyable entry has the last instruction, used only outside the
block, tha insert ion point for the vector code should be the last
instruction itself, not the following one. It prevents wrong def-use
sequences, which might be generated for the buildvector nodes.

Fixes #163404



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