tree-ssa-dom.c (dom_opt_dom_walker::optimize_stmt): Pass down the vr_values instance...
authorJeff Law <law@redhat.com>
Mon, 6 Aug 2018 20:13:20 +0000 (14:13 -0600)
committerJeff Law <law@gcc.gnu.org>
Mon, 6 Aug 2018 20:13:20 +0000 (14:13 -0600)
commit47ca20b4f69986143d552e72e00a706f887ffa00
treecb674fca757ce9e0eed2cd27572bf68e71e532ed
parent9e525f085b65ffc07217a86935cf357e3154accf
tree-ssa-dom.c (dom_opt_dom_walker::optimize_stmt): Pass down the vr_values instance to cprop_into_stmt.

* tree-ssa-dom.c (dom_opt_dom_walker::optimize_stmt): Pass down
the vr_values instance to cprop_into_stmt.
(cprop_into_stmt): Pass vr_values instance down to cprop_operand.
(cprop_operand): Also query EVRP to determine if OP is a constant.

From-SVN: r263342
gcc/ChangeLog
gcc/tree-ssa-dom.c