Re: [PATCH PR81267]Rewrite into loop closed ssa form in case of any store-store chain

2017-08-01 Thread Richard Biener
On Mon, Jul 31, 2017 at 4:14 PM, Bin Cheng wrote: > Hi, > This simple patch fixes the ICE by rewriting into loop closed ssa form in case > of any store-store chain. We maybe able to avoid that for some cases that > eliminated stores only store loop invariant values, but only

[PATCH PR81267]Rewrite into loop closed ssa form in case of any store-store chain

2017-07-31 Thread Bin Cheng
Hi, This simple patch fixes the ICE by rewriting into loop closed ssa form in case of any store-store chain. We maybe able to avoid that for some cases that eliminated stores only store loop invariant values, but only with more checks when inserting final store instructions. Bootstrap and test on