[PATCH] modulo-sched: skip loops with strange register defs [PR100225]

2021-04-28 Thread Roman Zhuykov via Gcc-patches
Hi all! Situation from PR was already caught earlier locally. So, I've just extracted appropriate part, it also slightly modifies loop checks related to non-single-set instructions. Patch (attached) was successfully bootstrapped/regtested on aarch64-linux on all active branches (8-12) with mod

[committed] minor: fix indentation in ddg.c

2020-03-10 Thread Roman Zhuykov via Gcc-patches
This obvious patch fixes indentation in PR90001-related code. Committed as r10-7106. Roman -- gcc/ChangeLog: * ddg.c (create_ddg): Fix intendation. (set_recurrence_length): Likewise. (create_ddg_all_sccs): Likewise. diff --git a/gcc/ddg.c b/gcc/ddg.c index aae92adf89a..ca

[committed] loop-iv: make find_simple_exit static

2020-03-10 Thread Roman Zhuykov via Gcc-patches
This patch marks find_simple_exit function as static. Committed as r10-7107 after successful bootstrap on x86_64 and powerpc64le. Roman -- Function 'find_simple_exit' is used only from loop-iv.c In 2004-2006 it was also used in predict.c, but since r118694 (992c31e62304ed5d34247dbdef2db276d08fac0

Re: Fix modulo-scheduler -fcompare-debug issues

2020-03-20 Thread Roman Zhuykov via Gcc-patches
Hi all! 12.03.2020 6:17, Jeff Law wrote: >> Current modulo-sched implementation is a bit faulty from -fcompile-debug >> perspective. >> >> But right now I see that when I enable -fmodulo-sched by default, powerpc64le >> bootstrap give comparison failure as of r10-7056. >> >> Comparing stages 2 and

Re: Fix modulo-scheduler -fcompare-debug issues

2020-03-28 Thread Roman Zhuykov via Gcc-patches
Hi, Christophe Lyon wrote 2020-03-27 19:53: Hi, On Fri, 20 Mar 2020 at 11:56, Roman Zhuykov via Gcc-patches wrote: Hi all! 12.03.2020 6:17, Jeff Law wrote: >> Current modulo-sched implementation is a bit faulty from -fcompile-debug >> perspective. >> >> But rig

[PATCH] modulo-sched: Carefully process loop counter initialization [PR97421]

2020-11-29 Thread Roman Zhuykov via Gcc-patches
Hi all! Same patch attached with commit message and inlined below. It was successfully reg-strapped on aarch64-linux. Planning also to briefly check amd64 build before push. Pushing in a few days if no objections. Any opinion about backports? Roman -- modulo-sched: Carefully process loop