[all-commits] [llvm/llvm-project] 5fbeec: [SLP]Drop disjoint flag for copyable lanes modeled...

Alexey Bataev via All-commits all-commits at lists.llvm.org
Fri Sep 18 15:12:22 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5fbeec8d587bcb6c33cd0c194b60981e6357ded6
      https://github.com/llvm/llvm-project/commit/5fbeec8d587bcb6c33cd0c194b60981e6357ded6
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2026-09-18 (Fri, 18 Sep 2026)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    A llvm/test/Transforms/SLPVectorizer/X86/or-disjoint-copyable-self-op.ll

  Log Message:
  -----------
  [SLP]Drop disjoint flag for copyable lanes modeled as op(V, V)

or disjoint(V, V) is poison unless V is zero, so propagating the
flag from the scalar instructions miscompiles the synthesized
self-op lanes. Keep it for identity-modeled and zero lanes.

Fixes https://github.com/llvm/llvm-project/pull/220252#issuecomment-5736121992

Reviewers: 

Pull Request: https://github.com/llvm/llvm-project/pull/224760



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