tree-ssa-sccvn.c (vn_walk_cb_data::push_partial_def): Handle non-constant defs in...
authorRichard Biener <rguenther@suse.de>
Wed, 4 Dec 2019 12:23:58 +0000 (12:23 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 4 Dec 2019 12:23:58 +0000 (12:23 +0000)
commit0849cdae714ddf056a4944f31eef53a465f1bcd0
tree3bf11d5ab0f5770d5e4b731e9eabf15c0e9a1505
parent394acee4f98219ad0165794573c44967b12ca05c
tree-ssa-sccvn.c (vn_walk_cb_data::push_partial_def): Handle non-constant defs in the most trivial way.

2019-12-04  Richard Biener  <rguenther@suse.de>

* tree-ssa-sccvn.c (vn_walk_cb_data::push_partial_def): Handle
non-constant defs in the most trivial way.
(vn_reference_lookup_3): Also push down SSA partial defs.

* gcc.dg/tree-ssa/ssa-fre-84.c: New testcase.

From-SVN: r278963
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/ssa-fre-84.c [new file with mode: 0644]
gcc/tree-ssa-sccvn.c