This patch adds a comment to the
colorEndsAccordingToDependencies coloring pass of the SI scheduler
and disables it when there is no reserved block.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
lib/Target/AMDGPU/SIMachineScheduler.cpp | ||
---|---|---|
840 ↗ | (On Diff #89043) | max_element can return end iterator only if the range is empty, so could you place an assert for this before these comparisons? |
lib/Target/AMDGPU/SIMachineScheduler.cpp | ||
---|---|---|
840 ↗ | (On Diff #89043) | The two vectors are supposed to be the size of DAGSize. |
lib/Target/AMDGPU/SIMachineScheduler.cpp | ||
---|---|---|
840 ↗ | (On Diff #89043) | It would look a bit paranoid :-) but I think it would make more sence than just asserting its not empty. |