Details
Details
Diff Detail
Diff Detail
Event Timeline
llvm/lib/Transforms/Utils/LoopPeel.cpp | ||
---|---|---|
389 | I think it's not quite clear what 'no room' means here. the condition here checks 2 things: 1) the size after peeling one iteration exceeds the threshold and 2) that there is at least on iteration to peel. It would be good to include both in the comment here. |
Comment Actions
- Update the comment.
- Remove checking for !UnrollPeelMaxCount because a similar condition is anyway checked in line 397.
I think it's not quite clear what 'no room' means here. the condition here checks 2 things: 1) the size after peeling one iteration exceeds the threshold and 2) that there is at least on iteration to peel.
It would be good to include both in the comment here.