Skip to content
Commit 10e5d7cf authored by Victor Lomuller's avatar Victor Lomuller
Browse files

Add a loop peeling pass.

For each loop in a function, the pass walks the loops from inner to outer most loop
and tries to peel loop for which a certain amount of iteration can be done before or after the loop.

To limit code growth, peeling will not happen if the growth in code size goes above a configurable threshold.
parent 61b50b3b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment