diff options
author | Pat Haugen <pthaugen@us.ibm.com> | 2014-01-23 16:37:39 +0000 |
---|---|---|
committer | Pat Haugen <pthaugen@gcc.gnu.org> | 2014-01-23 16:37:39 +0000 |
commit | 0a4f04e52efd974a6284683baec41b025d713463 (patch) | |
tree | 80f57b544a6cc1245b01a45613e52fae8d0eb469 /gcc/config | |
parent | 89253742854332d995391dad662f884c375a29d1 (diff) | |
download | gcc-0a4f04e52efd974a6284683baec41b025d713463.zip gcc-0a4f04e52efd974a6284683baec41b025d713463.tar.gz gcc-0a4f04e52efd974a6284683baec41b025d713463.tar.bz2 |
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
Diffstat (limited to 'gcc/config')
-rw-r--r-- | gcc/config/rs6000/rs6000.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c index a479219..75fa19e 100644 --- a/gcc/config/rs6000/rs6000.c +++ b/gcc/config/rs6000/rs6000.c @@ -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. */ |