llvm-project
10f8205c - [SLP]Fix stale deps for operands of non-scheduled expanded-binop parents

Commit
12 days ago
[SLP]Fix stale deps for operands of non-scheduled expanded-binop parents When a parent tree entry does not require scheduling and contains an expanded binop (e.g. `shl x, 1` modelled as `add x, x`), it never gets a bundle. So, the operand's `ScheduleData::Dependencies` keeps the count from the first sibling's `tryScheduleBundle` and misses later-added entries sharing the same expanded scalar. At real scheduling, `schedule()` then issues decrements for every current containing entry and trips `UnscheduledDeps >= 0`. Fixes #193040 Reviewers: Pull Request: https://github.com/llvm/llvm-project/pull/193265
Author
Parents
Loading