[all-commits] [llvm/llvm-project] e133cb: [SLP] Recompute copyable operand deps for nodes sh...
Alexey Bataev via All-commits
all-commits at lists.llvm.org
Sat Jun 6 04:22:49 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e133cb4f27525e05fbcb04994ed8767140f62db9
https://github.com/llvm/llvm-project/commit/e133cb4f27525e05fbcb04994ed8767140f62db9
Author: Alexey Bataev <a.bataev at outlook.com>
Date: 2026-06-06 (Sat, 06 Jun 2026)
Changed paths:
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
A llvm/test/Transforms/SLPVectorizer/X86/recalc-copyable-operand-deps-shared-inst.ll
Log Message:
-----------
[SLP] Recompute copyable operand deps for nodes sharing an instruction
When an instruction is vectorized in several nodes and one models an operand as
copyable while another (built later) uses it directly, the operand's dependency
count missed the direct def-use edge and the scheduler decremented it more times
than its count, tripping the unscheduled-deps assertion. Defer such operand dep
recomputation unconditionally via RecalcCopyableOperandDeps instead of the narrow
IsDuplicateCopyableNode gate.
Fixes #201855
Reviewers:
Pull Request: https://github.com/llvm/llvm-project/pull/202032
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