[all-commits] [llvm/llvm-project] e5a4ea: [SLP]Do not remove reduced value, if it is a copyable

Alexey Bataev via All-commits all-commits at lists.llvm.org
Sun Aug 31 09:10:06 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e5a4ea20c5b6b37f7fd944b5ef7395d0623d4bdb
      https://github.com/llvm/llvm-project/commit/e5a4ea20c5b6b37f7fd944b5ef7395d0623d4bdb
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2025-08-31 (Sun, 31 Aug 2025)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    A llvm/test/Transforms/SLPVectorizer/RISCV/reduced-copyable-element.ll

  Log Message:
  -----------
  [SLP]Do not remove reduced value, if it is a copyable

If the value is checked for the reduction and it is a copyable element
in a root node, it should not be deleted, since it may still be used
after vectorization.

Fixes #155512



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