-
Notifications
You must be signed in to change notification settings - Fork 211
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[core] fix a couple of bugs with loop normalization and unrolling (#2618
) * Remove the change to the invariant loop test. Add const to LoopComponents methods. When loops are already in what appears to be normalized form, loop normalization takes no action. It is therefore necessary for loop unrolling to always compute the number of iterations that may be executed for the loop. This adds the algorithm used to compute the number of iterations to loop unrolling so that loops that do not have iterations at all are properly detected. Add tests for always true and always false extreme conditions. Patch LoopNormalize, now in a new file. Finish merging in the changes. Signed-off-by: Eric Schweitz <[email protected]> * Use switches throughout. Signed-off-by: Eric Schweitz <[email protected]> --------- Signed-off-by: Eric Schweitz <[email protected]>
- Loading branch information
1 parent
3994807
commit 76ffe23
Showing
12 changed files
with
695 additions
and
139 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.