rs6000.c (rs6000_option_override_internal): Don't force flag_ira_loop_pressure if set via command line.

* config/rs6000/rs6000.c (rs6000_option_override_internal): Don't
	force flag_ira_loop_pressure if set via command line.

From-SVN: r206982
This commit is contained in:
Pat Haugen 2014-01-23 16:37:39 +00:00 committed by Pat Haugen
parent 8925374285
commit 0a4f04e52e
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2014-01-23 Pat Haugen <pthaugen@us.ibm.com>
* config/rs6000/rs6000.c (rs6000_option_override_internal): Don't
force flag_ira_loop_pressure if set via command line.
2014-01-23 Alex Velenko <Alex.Velenko@arm.com>
* config/aarch64/aarch64-simd-builtins.def (ashr): DI mode removed.

View File

@ -3039,7 +3039,8 @@ rs6000_option_override_internal (bool global_init_p)
calculation works better for RTL loop invariant motion on targets
with enough (>= 32) registers. It is an expensive optimization.
So it is on only for peak performance. */
if (optimize >= 3 && global_init_p)
if (optimize >= 3 && global_init_p
&& !global_options_set.x_flag_ira_loop_pressure)
flag_ira_loop_pressure = 1;
/* Set the pointer size. */