The fuselevel option further controls the level of loop fusion.
(Whenever you set -fuselevel
, KAP automatically sets
-fuse
.)
The possible settings for this option are the following:
0
- KAP performs standard fusion techniques.
This is the default.
1
- This setting instructs the fusion pass
to move nonadjacent loops to adjacent positions. This movement is
validated using a test based on data dependence. If the movement
is successful, KAP attempts to fuse the repositioned loops.
2
- This setting instructs the fusion pass
to attempt loop-iteration space reversal and loop peeling to
provide additional opportunities to fuse loops together. Both
of these transformations are based on data dependence tests.
Reversing the iteration space on adjacent loops, so that the
index sets are the same, might permit certain loops to fuse
together that would not fuse otherwise. Loop peeling is performed
so that adjacent loops will have the same iteration space.
Copyright © Digital Equipment Corporation. 1997.
All Rights Reserved.