Commit e2cc3483 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: r160217
parent 193d4c0f
......@@ -3695,8 +3695,8 @@ 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)
anything. */
if (set->regs[i] == NULL || set->regs[i]->next == NULL)
continue;
memset (canon, 0, sizeof (canon));
......
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