[AArch64] Default to -fsched-pressure
authorWilco Dijkstra <wdijkstr@arm.com>
Tue, 23 Sep 2014 11:14:42 +0000 (11:14 +0000)
committerMarcus Shawcroft <mshawcroft@gcc.gnu.org>
Tue, 23 Sep 2014 11:14:42 +0000 (11:14 +0000)
From-SVN: r215503

gcc/ChangeLog
gcc/common/config/aarch64/aarch64-common.c

index 61de16a..c10f7f3 100644 (file)
@@ -1,3 +1,9 @@
+2014-09-23  Wilco Dijkstra  <wdijkstr@arm.com>
+
+       * common/config/aarch64/aarch64-common.c:
+       (default_options aarch_option_optimization_table):
+       Default to -fsched-pressure.
+
 2014-09-23  Ilya Enkovich  <ilya.enkovich@intel.com>
 
        * cfgcleanup.c (try_optimize_cfg): Do not remove label
index e44b40a..63f2212 100644 (file)
@@ -44,6 +44,8 @@ static const struct default_options aarch_option_optimization_table[] =
   {
     /* Enable section anchors by default at -O1 or higher.  */
     { OPT_LEVELS_1_PLUS, OPT_fsection_anchors, NULL, 1 },
+    /* Enable -fsched-pressure by default when optimizing.  */
+    { OPT_LEVELS_1_PLUS, OPT_fsched_pressure, NULL, 1 },
     /* Enable redundant extension instructions removal at -O2 and higher.  */
     { OPT_LEVELS_2_PLUS, OPT_free, NULL, 1 },
     { OPT_LEVELS_NONE, 0, NULL, 0 }