Re: [PATCH] Fix PR89779

2019-03-25 Thread Richard Biener
On Thu, 21 Mar 2019, Richard Biener wrote: > > The testcase in this PR shows that IVOPTs ends up using cached > control IV information of IVs that have been elimiated by it. > IVOPTs fails to properly release that information as scev_reset > just resets ->nb_iterations but not control-IVs. > > A

[PATCH] Fix PR89779

2019-03-21 Thread Richard Biener
The testcase in this PR shows that IVOPTs ends up using cached control IV information of IVs that have been elimiated by it. IVOPTs fails to properly release that information as scev_reset just resets ->nb_iterations but not control-IVs. A proper fix is to avoid doing the above for each loop and