Commit 927450d0 by Kyrylo Tkachov Committed by Kyrylo Tkachov

[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
parent 3a004764
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> 2014-05-15 Jakub Jelinek <jakub@redhat.com>
PR tree-optimization/61158 PR tree-optimization/61158
......
...@@ -50,6 +50,7 @@ ...@@ -50,6 +50,7 @@
#include "except.h" #include "except.h"
#include "tm_p.h" #include "tm_p.h"
#include "target.h" #include "target.h"
#include "sched-int.h"
#include "target-def.h" #include "target-def.h"
#include "debug.h" #include "debug.h"
#include "langhooks.h" #include "langhooks.h"
...@@ -2944,7 +2945,7 @@ arm_option_override (void) ...@@ -2944,7 +2945,7 @@ arm_option_override (void)
prefer_neon_for_64bits = true; prefer_neon_for_64bits = true;
/* Use the alternative scheduling-pressure algorithm by default. */ /* 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.x_param_values,
global_options_set.x_param_values); global_options_set.x_param_values);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment