[PATCH][sched-deps] Remove needless check for modified_in_p when trying to fuse two non-conditional jump insns

Kyrill Tkachov kyrylo.tkachov@arm.com
Wed Nov 12 16:23:00 GMT 2014


Hi all,

I noticed that the check for modified_in_p in sched-deps is not needed 
and needlessly restricts the insn pairs that we can check for macro 
fusion in the backend hooks.
This patch removes the check. Currently that execution path is only used 
in arm and aarch64.
This enables the backend hooks to catch more cases that I'm working on.

Bootstrapped on aarch64, x86, arm. Tested on aarch64.

Ok for trunk?

Thanks,
Kyrill

2014-11-12  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>

     * sched-deps.c (sched_macro_fuse_insns): Do not check modified_in_p
     in the not condtional jump case.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sched-deps-modified.patch
Type: text/x-patch
Size: 427 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20141112/9586dc4a/attachment.bin>


More information about the Gcc-patches mailing list