mirror of git://gcc.gnu.org/git/gcc.git
tree-ssa-threadbackward.c (profitable_jump_thread_path): Treat same SSA names related.
2016-08-09 Richard Biener <rguenther@suse.de>
* tree-ssa-threadbackward.c (profitable_jump_thread_path):
Treat same SSA names related.
From-SVN: r239276
This commit is contained in:
parent
9e207d6fec
commit
fda5c810e1
|
|
@ -1,3 +1,8 @@
|
||||||
|
2016-08-09 Richard Biener <rguenther@suse.de>
|
||||||
|
|
||||||
|
* tree-ssa-threadbackward.c (profitable_jump_thread_path):
|
||||||
|
Treat same SSA names related.
|
||||||
|
|
||||||
2016-08-09 Jakub Jelinek <jakub@redhat.com>
|
2016-08-09 Jakub Jelinek <jakub@redhat.com>
|
||||||
|
|
||||||
PR tree-optimization/72824
|
PR tree-optimization/72824
|
||||||
|
|
|
||||||
|
|
@ -207,7 +207,8 @@ profitable_jump_thread_path (vec<basic_block, va_gc> *&path,
|
||||||
/* Note that if both NAME and DST are anonymous
|
/* Note that if both NAME and DST are anonymous
|
||||||
SSA_NAMEs, then we do not have enough information
|
SSA_NAMEs, then we do not have enough information
|
||||||
to consider them associated. */
|
to consider them associated. */
|
||||||
if ((SSA_NAME_VAR (dst) != SSA_NAME_VAR (name)
|
if (dst != name
|
||||||
|
&& (SSA_NAME_VAR (dst) != SSA_NAME_VAR (name)
|
||||||
|| !SSA_NAME_VAR (dst))
|
|| !SSA_NAME_VAR (dst))
|
||||||
&& !virtual_operand_p (dst))
|
&& !virtual_operand_p (dst))
|
||||||
++n_insns;
|
++n_insns;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue