On March 15, 2020 7:12:26 AM GMT+01:00, "bin.cheng via Gcc-patches" 
<gcc-patches@gcc.gnu.org> wrote:
>Hi,
>This simple patch fixes PR94125 by updating post order number for
>merged SCC.
>The root cause is after computing SCC with runtime alias edges skipped,
>the post
>order info is changed and it's possible a partition is scheduled after
>another where
>should be scheduled before.  Note that updating to the minimal post
>order number
>is safe, only partitions separated from SCC because of skipping runtime
>alias edges
>can be assigned larger post oder than the original precedent one.
>
>Bootstrap and test on x86_64, test case also added.

OK. 

Thanks, 
Richard. 

>Thanks,
>bin
>
>2020-03-15  Bin Cheng  <bin.ch...@linux.alibaba.com>
>
>        PR tree-optimization/94125
>        * tree-loop-distribution.c
>    (loop_distribution::break_alias_scc_partitions): Update post ordeer
>        number for merged scc.
>
>gcc/testsuite
>2020-03-15  Bin Cheng  <bin.ch...@linux.alibaba.com>
>
>        PR tree-optimization/94125
>        * gcc.dg/tree-ssa/pr94125.c: New test.

Reply via email to