tree-ssa-alias.c (get_continuation_for_phi): Improve looking for the last VUSE which...
authorRichard Biener <rguenther@suse.de>
Thu, 4 May 2017 13:29:08 +0000 (13:29 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 4 May 2017 13:29:08 +0000 (13:29 +0000)
commit4d147bca3f0f1fadac32d4306a654e975b364341
tree6fd37d14e0bb29d83611af005e02f4128f9ce4ec
parentb655c31048e115ba4fc42072533de4de2c8f8821
tree-ssa-alias.c (get_continuation_for_phi): Improve looking for the last VUSE which def dominates the PHI.

2017-05-04  Richard Biener  <rguenther@suse.de>

* tree-ssa-alias.c (get_continuation_for_phi): Improve looking
for the last VUSE which def dominates the PHI.  Directly call
maybe_skip_until.
(get_continuation_for_phi_1): Remove.

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

From-SVN: r247596
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/ssa-fre-58.c [new file with mode: 0644]
gcc/tree-ssa-alias.c