restrict issue_rate in first pass when scheduling for register
pressure.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@152291
138bc75d-0d04-0410-961f-
82ee72b054a4
+2009-09-29 Pat Haugen <pthaugen@us.ibm.com>
+
+ * config/rs6000/rs6000.c (rs6000_issue_rate): Don't artificially
+ restrict issue_rate in first pass when scheduling for register
+ pressure.
+
2009-09-29 Basile Starynkevitch <basile@starynkevitch.net>
Rafael Avila de Espindola <espindola@google.com>
static int
rs6000_issue_rate (void)
{
- /* Use issue rate of 1 for first scheduling pass to decrease degradation. */
- if (!reload_completed)
+ /* Unless scheduling for register pressure, use issue rate of 1 for
+ first scheduling pass to decrease degradation. */
+ if (!reload_completed && !flag_sched_pressure)
return 1;
switch (rs6000_cpu_attr) {