diff mbox

[obvious] Don't reset ssa_name infor in struct iv.

Message ID 000401d0afec$e951f6f0$bbf5e4d0$@arm.com
State New
Headers show

Commit Message

Bin Cheng June 26, 2015, 8:48 a.m. UTC
Hi,
I applied a patch before to keep ssa_name information in struct iv.  Seems
this function somehow slipped away.
Will apply it to trunk.

Thanks,
bin

2015-06-26  Bin Cheng  <bin.cheng@arm.com>

	* tree-ssa-loop-ivopts.c (record_sub_use): Don't reset ssa_name
	field in struct iv.
diff mbox

Patch

Index: gcc/tree-ssa-loop-ivopts.c
===================================================================
--- gcc/tree-ssa-loop-ivopts.c	(revision 224930)
+++ gcc/tree-ssa-loop-ivopts.c	(working copy)
@@ -1390,10 +1396,6 @@  record_sub_use (struct ivopts_data *data, tree *us
       pre->next = use;
     }
 
-  /* To avoid showing ssa name in the dumps, if it was not reset by the
-     caller.  */
-  iv->ssa_name = NULL_TREE;
-
   return use;
 }