[gcc(refs/users/meissner/heads/work012)] Move PCREL_OPT before the second scheduling pass.

Michael Meissner meissner@gcc.gnu.org
Tue Sep 1 02:31:03 GMT 2020


https://gcc.gnu.org/g:8dc7fd0a6cdf39a9bfe9d380846a966798be0e2a

commit 8dc7fd0a6cdf39a9bfe9d380846a966798be0e2a
Author: Michael Meissner <meissner@linux.ibm.com>
Date:   Mon Aug 31 22:30:28 2020 -0400

    Move PCREL_OPT before the second scheduling pass.
    
    gcc/
    2020-08-31  Michael Meissner  <meissner@linux.ibm.com>
    
            * config/rs6000/rs6000-passes.def: Move PCREL_OPT pass before the
            second scheduling pass.

Diff:
---
 gcc/config/rs6000/rs6000-passes.def | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/config/rs6000/rs6000-passes.def b/gcc/config/rs6000/rs6000-passes.def
index 9b93fc783c0..b62244b8df2 100644
--- a/gcc/config/rs6000/rs6000-passes.def
+++ b/gcc/config/rs6000/rs6000-passes.def
@@ -32,4 +32,4 @@ along with GCC; see the file COPYING3.  If not see
   /* Pass to do the PCREL_OPT optimization that combines the load of an
      external symbol's address along with a single load or store using that
      address as a base register.  */
-  INSERT_PASS_AFTER (pass_sched2, 1, pass_pcrel_opt);
+  INSERT_PASS_BEFORE (pass_sched2, 1, pass_pcrel_opt);


More information about the Gcc-cvs mailing list