summaryrefslogtreecommitdiff
path: root/gcc/lra-int.h
diff options
context:
space:
mode:
authorTom de Vries <tom@codesourcery.com>2014-05-28 21:50:28 +0000
committerTom de Vries <vries@gcc.gnu.org>2014-05-28 21:50:28 +0000
commitea0b381f6e6b7a7261f028007453a8fe99587aa0 (patch)
treea85218b1d43ae3380e45d9f5caad31d59415b71d /gcc/lra-int.h
parent73f793e3bb4e0a2bd04536f8bbc861c34cfec945 (diff)
revert: lra-int.h (struct lra_reg): Add field actual_call_used_reg_set.
2014-05-28 Tom de Vries <tom@codesourcery.com> Revert: 2014-05-28 Tom de Vries <tom@codesourcery.com> * lra-int.h (struct lra_reg): Add field actual_call_used_reg_set. * lra.c (initialize_lra_reg_info_element): Add init of actual_call_used_reg_set field. (lra): Call lra_create_live_ranges before lra_inheritance for -fuse-caller-save. * lra-assigns.c (lra_assign): Allow call_used_regs to cross calls for -fuse-caller-save. * lra-constraints.c (need_for_call_save_p): Use actual_call_used_reg_set instead of call_used_reg_set for -fuse-caller-save. * lra-lives.c (process_bb_lives): Calculate actual_call_used_reg_set. From-SVN: r211033
Diffstat (limited to 'gcc/lra-int.h')
-rw-r--r--gcc/lra-int.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/gcc/lra-int.h b/gcc/lra-int.h
index 98a30183caa..41c98492973 100644
--- a/gcc/lra-int.h
+++ b/gcc/lra-int.h
@@ -77,10 +77,6 @@ struct lra_reg
/* The following fields are defined only for pseudos. */
/* Hard registers with which the pseudo conflicts. */
HARD_REG_SET conflict_hard_regs;
- /* Call used registers with which the pseudo conflicts, taking into account
- the registers used by functions called from calls which cross the
- pseudo. */
- HARD_REG_SET actual_call_used_reg_set;
/* We assign hard registers to reload pseudos which can occur in few
places. So two hard register preferences are enough for them.
The following fields define the preferred hard registers. If