Propagator should call value_of_stmt.
authorAndrew MacLeod <amacleod@redhat.com>
Thu, 31 Mar 2022 13:36:59 +0000 (09:36 -0400)
committerAndrew MacLeod <amacleod@redhat.com>
Thu, 16 Jun 2022 18:02:25 +0000 (14:02 -0400)
commit5b1594dc2d053803ae98ae39f76fbd71f35cb657
tree328e4d202909e706c363f52e4e7d862e62c018f2
parent9642d07c35f14b9917cd115e8a9f0210fbcdcf4f
Propagator should call value_of_stmt.

When evaluating the LHS of a stmt, its more efficent/better to call
value_of_stmt directly rather than value_of_expr.

* tree-ssa-propagate.cc (before_dom_children): Call value_of_stmt.
gcc/tree-ssa-propagate.cc