Re: [PATCH] Another DSE improvement and thinko fix

2018-05-21 Thread Jeff Law
On 05/17/2018 06:15 AM, Richard Biener wrote: > > The previous DSE improvements left us with skipping elements we could > have possibly removed because I messed up the iterator increment > upon removal. The following fixes this and also adds another pruning > opportunity in case the only stmt fee

[PATCH] Another DSE improvement and thinko fix

2018-05-17 Thread Richard Biener
The previous DSE improvements left us with skipping elements we could have possibly removed because I messed up the iterator increment upon removal. The following fixes this and also adds another pruning opportunity in case the only stmt feeded by the def is an already visited PHI. Bootstrap and