public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] Move split-path pass next to the tracer pass
@ 2015-12-18  4:04 Jeff Law
  0 siblings, 0 replies; only message in thread
From: Jeff Law @ 2015-12-18  4:04 UTC (permalink / raw)
  To: gcc-patches

[-- Attachment #1: Type: text/plain, Size: 348 bytes --]


Richi noted that the two passes, which do very similar things are at 
slightly different places in the pipeline.  There really isn't a good 
reason for that.

This patch sinks the split-path pass slightly so that it's immediately 
before the tracer pass.


Bootstrapped and regression tested on x86_64-linux-gnu & installed on 
the trunk.



Jeff

[-- Attachment #2: patch --]
[-- Type: text/plain, Size: 1441 bytes --]

commit 221e081904a5cb3423a03b7f6e3173fe205f0adb
Author: law <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Date:   Fri Dec 18 04:04:20 2015 +0000

    [PATCH] Move split-path pass next to the tracer pass
    
    	* passes.def: Put the split-paths pass immediately before the
    	tracer pass.
    
    git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@231800 138bc75d-0d04-0410-961f-82ee72b054a4

diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 070b2dd..bf01dfb 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,8 @@
 2015-12-17  Jeff Law  <law@redhat.com>
 
+	* passes.def: Put the split-paths pass immediately before the
+	tracer pass.
+
 	* doc/invoke.texi (-O2 options): Remove -fsplit-paths.
 	(-O3 options): Add -fsplit-paths.
 	* gimple-ssa-split-paths.c: Include predict.h
diff --git a/gcc/passes.def b/gcc/passes.def
index 2ba8490..59114a9 100644
--- a/gcc/passes.def
+++ b/gcc/passes.def
@@ -302,10 +302,10 @@ along with GCC; see the file COPYING3.  If not see
       POP_INSERT_PASSES ()
       NEXT_PASS (pass_simduid_cleanup);
       NEXT_PASS (pass_lower_vector_ssa);
-      NEXT_PASS (pass_split_paths);
       NEXT_PASS (pass_cse_reciprocals);
       NEXT_PASS (pass_reassoc, false /* insert_powi_p */);
       NEXT_PASS (pass_strength_reduction);
+      NEXT_PASS (pass_split_paths);
       NEXT_PASS (pass_tracer);
       NEXT_PASS (pass_dominator, false /* may_peel_loop_headers_p */);
       NEXT_PASS (pass_strlen);

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-12-18  4:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-12-18  4:04 [PATCH] Move split-path pass next to the tracer pass Jeff Law

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).