Commit b49c27c3 by Richard Henderson Committed by Richard Henderson

Use hook_bool_void_true for TARGET_LRA_P

From-SVN: r193370
parent 64fbcc74
2012-11-09 Richard Henderson <rth@redhat.com>
* config/i386/i386.c (ix86_lra_p): Remove.
(TARGET_LRA_P): Use hook_bool_void_true.
2012-11-09 Jason Merrill <jason@redhat.com> 2012-11-09 Jason Merrill <jason@redhat.com>
* attribs.c (lookup_attribute_spec): Handle getting a TREE_LIST. * attribs.c (lookup_attribute_spec): Handle getting a TREE_LIST.
...@@ -32856,13 +32856,6 @@ ix86_free_from_memory (enum machine_mode mode) ...@@ -32856,13 +32856,6 @@ ix86_free_from_memory (enum machine_mode mode)
} }
} }
/* Return true if we use LRA instead of reload pass. */
static bool
ix86_lra_p (void)
{
return true;
}
/* Return a register priority for hard reg REGNO. */ /* Return a register priority for hard reg REGNO. */
static int static int
ix86_register_priority (int hard_regno) ix86_register_priority (int hard_regno)
...@@ -42119,7 +42112,7 @@ ix86_memmodel_check (unsigned HOST_WIDE_INT val) ...@@ -42119,7 +42112,7 @@ ix86_memmodel_check (unsigned HOST_WIDE_INT val)
#define TARGET_LEGITIMATE_ADDRESS_P ix86_legitimate_address_p #define TARGET_LEGITIMATE_ADDRESS_P ix86_legitimate_address_p
#undef TARGET_LRA_P #undef TARGET_LRA_P
#define TARGET_LRA_P ix86_lra_p #define TARGET_LRA_P hook_bool_void_true
#undef TARGET_REGISTER_PRIORITY #undef TARGET_REGISTER_PRIORITY
#define TARGET_REGISTER_PRIORITY ix86_register_priority #define TARGET_REGISTER_PRIORITY ix86_register_priority
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