public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH GCC][obvious]Don't reset ssa_name infor in struct iv.
@ 2015-06-26  8:49 Bin Cheng
  0 siblings, 0 replies; only message in thread
From: Bin Cheng @ 2015-06-26  8:49 UTC (permalink / raw)
  To: gcc-patches

[-- Attachment #1: Type: text/plain, Size: 295 bytes --]

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.

[-- Attachment #2: keep-ssa_name-in-iv.txt --]
[-- Type: text/plain, Size: 461 bytes --]

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;
 }
 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-06-26  8:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-26  8:49 [PATCH GCC][obvious]Don't reset ssa_name infor in struct iv Bin Cheng

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).