Introduce ssa_defined_default_def_p function (PR tree-optimization/79529).
authorMartin Liska <mliska@suse.cz>
Fri, 17 Feb 2017 14:36:08 +0000 (15:36 +0100)
committerMartin Liska <marxin@gcc.gnu.org>
Fri, 17 Feb 2017 14:36:08 +0000 (14:36 +0000)
commitc6b0d21d49a2605b2c667cec37b31140133b1fd5
tree2d644d831748550bdfe21bd8444f49d2c62f5768
parent830afa4b0c8f2012b91c639f18a426d18aa36af2
Introduce ssa_defined_default_def_p function (PR tree-optimization/79529).

2017-02-17  Martin Liska  <mliska@suse.cz>

PR tree-optimization/79529
* tree-ssa-loop-unswitch.c (is_maybe_undefined): Use
ssa_defined_default_def_p to handle cases which are implicitly
defined.
* tree-ssa.c (ssa_defined_default_def_p): New function.
(ssa_undefined_value_p): Use ssa_defined_default_def_p to handle cases
which are implicitly defined.
* tree-ssa.h (ssa_defined_default_def_p): Declare.

From-SVN: r245530
gcc/ChangeLog
gcc/tree-ssa-loop-unswitch.c
gcc/tree-ssa.c
gcc/tree-ssa.h