lra.c (lra): Move init_reg_info and expand_reg_info calls before init_insn_recog_data.

2012-11-23  Vladimir Makarov  <vmakarov@redhat.com>

	* lra.c (lra): Move init_reg_info and expand_reg_info calls before
	init_insn_recog_data.

From-SVN: r193759
This commit is contained in:
Vladimir Makarov 2012-11-23 15:55:58 +00:00 committed by Vladimir Makarov
parent 59ddadabe4
commit afa22e29ee
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2012-11-23 Vladimir Makarov <vmakarov@redhat.com>
* lra.c (lra): Move init_reg_info and expand_reg_info calls before
init_insn_recog_data.
2012-11-23 Jakub Jelinek <jakub@redhat.com>
* tsan.c: Fix up comment formatting.

View File

@ -2212,6 +2212,9 @@ lra (FILE *f)
COPY_HARD_REG_SET (lra_no_alloc_regs, ira_no_alloc_regs);
init_reg_info ();
expand_reg_info ();
init_insn_recog_data ();
#ifdef ENABLE_CHECKING
@ -2228,9 +2231,6 @@ lra (FILE *f)
pseudo creation. */
lra_in_progress = 1;
init_reg_info ();
expand_reg_info ();
/* Function remove_scratches can creates new pseudos for clobbers --
so set up lra_constraint_new_regno_start before its call to
permit changing reg classes for pseudos created by this