[ARM][cleanup] Use enum name instead of integer value for PARAM_SCHED_PRESSURE_ALGORITHM.

* config/arm/arm.c (arm_option_override): Use the SCHED_PRESSURE_MODEL
	enum name for PARAM_SCHED_PRESSURE_ALGORITHM.

From-SVN: r210471
This commit is contained in:
Kyrylo Tkachov 2014-05-15 11:23:02 +00:00 committed by Kyrylo Tkachov
parent 3a004764ec
commit 927450d08c
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2014-05-15 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
* config/arm/arm.c (arm_option_override): Use the SCHED_PRESSURE_MODEL
enum name for PARAM_SCHED_PRESSURE_ALGORITHM.
2014-05-15 Jakub Jelinek <jakub@redhat.com>
PR tree-optimization/61158

View File

@ -50,6 +50,7 @@
#include "except.h"
#include "tm_p.h"
#include "target.h"
#include "sched-int.h"
#include "target-def.h"
#include "debug.h"
#include "langhooks.h"
@ -2944,7 +2945,7 @@ arm_option_override (void)
prefer_neon_for_64bits = true;
/* Use the alternative scheduling-pressure algorithm by default. */
maybe_set_param_value (PARAM_SCHED_PRESSURE_ALGORITHM, 2,
maybe_set_param_value (PARAM_SCHED_PRESSURE_ALGORITHM, SCHED_PRESSURE_MODEL,
global_options.x_param_values,
global_options_set.x_param_values);