Re: [PATCH PR88932]Fix ICE by sorting chain refs in Dom order

2019-01-28 Thread Richard Biener
On Mon, Jan 28, 2019 at 2:39 AM bin.cheng wrote: > > Hi, > This simple patch fixes the ICE by getting loop bbs in dominance order and > sorting > chain references against it. Previously it didn't take dominance in > consideration for > loop thus resulted in use-before-def issue. > After looking

[PATCH PR88932]Fix ICE by sorting chain refs in Dom order

2019-01-27 Thread bin.cheng
Hi, This simple patch fixes the ICE by getting loop bbs in dominance order and sorting chain references against it. Previously it didn't take dominance in consideration for loop thus resulted in use-before-def issue. After looking at the code closer, I think sorting references isn't necessary,