ira.c (ira): Don't call init_caller_save if LRA enabled since LRA use its own infrastructure...

* ira.c (ira): Don't call init_caller_save if LRA enabled
	since LRA use its own infrastructure to handle that.

From-SVN: r211364
This commit is contained in:
Kito Cheng 2014-06-09 04:21:42 +00:00 committed by Chung-Ju Wu
parent 24d047a30a
commit 001010df9d
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2014-06-09 Kito Cheng <kito@0xlab.org>
* ira.c (ira): Don't call init_caller_save if LRA enabled
since LRA use its own infrastructure to handle that.
2014-06-07 Jan Hubicka <hubicka@ucw.cz>
* symtab.c (dump_symtab_base): Update dumping.

View File

@ -5166,7 +5166,8 @@ ira (FILE *f)
#endif
bitmap_obstack_initialize (&ira_bitmap_obstack);
if (flag_caller_saves)
/* LRA uses its own infrastructure to handle caller save registers. */
if (flag_caller_saves && !ira_use_lra_p)
init_caller_save ();
if (flag_ira_verbose < 10)