mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-29 11:00:23 +02:00
* simplify body of for loop before unrolling
git-svn-id: trunk@25246 -
This commit is contained in:
parent
5d4a094799
commit
cfcb4cab26
@ -1476,6 +1476,9 @@ implementation
|
||||
{ loop unrolling }
|
||||
if cs_opt_loopunroll in current_settings.optimizerswitches then
|
||||
begin
|
||||
res:=t2.simplify(false);
|
||||
if assigned(res) then
|
||||
t2:=res;
|
||||
res:=unroll_loop(self);
|
||||
if assigned(res) then
|
||||
begin
|
||||
|
Loading…
Reference in New Issue
Block a user