Enable REE pass by default for AArch64 at O2 or higher
authorIan Bolton <ian.bolton@arm.com>
Mon, 29 Apr 2013 15:59:19 +0000 (15:59 +0000)
committerIan Bolton <ibolton@gcc.gnu.org>
Mon, 29 Apr 2013 15:59:19 +0000 (15:59 +0000)
From-SVN: r198424

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

index 38074dab23fad34ab4d6b96a4b6d62539d1c4507..9f09e1473adc226c690f301143d169d264beaa85 100644 (file)
@@ -1,3 +1,8 @@
+2013-04-29  Ian Bolton  <ian.bolton@arm.com>
+
+       * common/config/aarch64/aarch64-common.c: Enable REE pass at O2
+       or higher by default.
+
 2013-04-29  Richard Biener  <rguenther@suse.de>
 
        PR middle-end/57075
index bb1aeec653173d387fbab0f07c50b59c00318ea3..9c8e77051091338d9cfc9817885d2a5bcd897f83 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 redundant extension instructions removal at -O2 and higher.  */
+    { OPT_LEVELS_2_PLUS, OPT_free, NULL, 1 },
     { OPT_LEVELS_NONE, 0, NULL, 0 }
   };