Regardless how the loop body weight is distributed, we should preserve
total loop body weight. i.e. we should have same weight reaching the body of the loop
or its duplicates in peeled and unpeeled case.
Details
Details
Diff Detail
Diff Detail
- Build Status
Buildable 2478 Build 2478: arc lint + arc unit
Event Timeline
lib/Transforms/Utils/LoopUnrollPeel.cpp | ||
---|---|---|
338 | Might be better to name it CurHeaderWeight or just HeaderWeight | |
351 | This comment is not accurate. Better "Subtract the exit weight from the current header weight -- the exit weight is exactly ..." | |
393 | remaining loop body weight --> current header weight loop body entry count --> current loop exit weight |
Might be better to name it
CurHeaderWeight or just HeaderWeight