Commit 193d4c0f by Jakub Jelinek

var-tracking.c (dataflow_set_equiv_regs): Shortcut the loop if ...

	* var-tracking.c (dataflow_set_equiv_regs): Shortcut the loop if                                                                        
	set->regs[i] is NULL or has just one entry.

From-SVN: r160216
parent 703e95cf
2010-06-03 Jan Hubicka <jh@suse.cz>
Jakub Jelinek <jakub@redhat.com>
* var-tracking.c (dataflow_set_equiv_regs): Shortcut the loop if
set->regs[i] is NULL or has just one entry.
2010-06-03 Jan Hubicka <jh@suse.cz>
* lto-cgraph.c (lto_varpool_encoder_size): Remove.
* lto-streamer.h (lto_varpool_encoder_size): New inline function.
......@@ -546,7 +552,7 @@
* tree-inline.c (estimate_num_insns): For stdarg functions look
into call statement to count cost of argument passing.
2010-06-01 Kai Tietz
2010-06-01 Kai Tietz <kai.tietz@onevision.com>
* config/i386.c (ix86_output_addr_vec_elt): Make LPREFIX
argument for fprintf.
......
......@@ -3694,6 +3694,11 @@ dataflow_set_equiv_regs (dataflow_set *set)
{
rtx canon[NUM_MACHINE_MODES];
/* If the list is empty or one entry, no need to canonicalize
anything.  */
 if (set->regs[i] == NULL || set->regs[i]->next == NULL)
continue;
memset (canon, 0, sizeof (canon));
for (list = set->regs[i]; list; list = list->next)
......
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