Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve loop unrolling documentation (#52099)
Minor cleanups to loop unrolling: 1. Add header comments with documentation 2. Make jitIterSmallOverflow/jitIterSmallUnderflow private static `Compiler` class members, and not just "loose" functions. 3. Manually loop hoist ITER_LIMIT and UNROLL_LIMIT_SZ and dependent asserts, plus `iterLimit` setting. Also, make `optCloneLoops` and `optUnrollLoops` return a PhaseStatus, so for early-out cases they can return MODIFIED_NOTHING.
- Loading branch information