tree-ssa-pre.c (get_representative_for): Make sure to return the value number of...
authorRichard Biener <rguenther@suse.de>
Fri, 15 Jul 2016 10:53:29 +0000 (10:53 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Fri, 15 Jul 2016 10:53:29 +0000 (10:53 +0000)
commita8e15f9074d70cf2b029e04f3f56ed64e5171556
tree2aae7d8dd4c803b42f5755515450c664ec7bc8a6
parentddbbcb1981b4f7c8ee18f4aecaf84c2cb2d98e2e
tree-ssa-pre.c (get_representative_for): Make sure to return the value number of SSA names.

2016-07-15  Richard Biener  <rguenther@suse.de>

* tree-ssa-pre.c (get_representative_for): Make sure to return
the value number of SSA names.
(phi_translate_1): get_representative_for cannot return NULL.
(do_pre_regular_insertion): Remove redundant call to
fully_constant_expression.
(do_pre_partial_partial_insertion): Likewise.

From-SVN: r238370
gcc/ChangeLog
gcc/tree-ssa-pre.c