llvm-project
8b8fdfd8 - [SLP]Bail out on non-schedulable expanded binop with stale operand deps

Commit
7 days ago
[SLP]Bail out on non-schedulable expanded binop with stale operand deps In tryScheduleBundle's DoesNotRequireScheduling path, an expanded binop (shl X, 1 modeled as add X, X) doubles the dependency count of the duplicated operand. If the operand has a single IR use yet its ScheduleData already has Dependencies populated by an earlier calculation that did not see the expanded duplicate use, double decrement still exceeds calculateDependencies' single increment and UnscheduledDeps goes negative. Fixes #196281. Reviewers: Pull Request: https://github.com/llvm/llvm-project/pull/196449
Author
Parents
Loading