diff options
author | Andrew Pinski <apinski@marvell.com> | 2023-05-02 00:08:19 -0700 |
---|---|---|
committer | Andrew Pinski <apinski@marvell.com> | 2023-05-03 11:26:38 -0700 |
commit | 3b7eecca20bcb05e0220b3d012df012902a23534 (patch) | |
tree | 603613fa8a5c3e1f867eb1829eb6d758ebe96736 /gcc/gcov.cc | |
parent | 2b8a27634f5d28e3e7c4a08bf065f2daada7aed2 (diff) | |
download | gcc-3b7eecca20bcb05e0220b3d012df012902a23534.zip gcc-3b7eecca20bcb05e0220b3d012df012902a23534.tar.gz gcc-3b7eecca20bcb05e0220b3d012df012902a23534.tar.bz2 |
Add stats to simple_dce_from_worklist
While looking to move substitute_and_fold_engine
over to use simple_dce_from_worklist, I noticed
that we don't record the stats of the removed stmts/phis.
So this does that.
OK? Bootstrapped and tested on x86_64-linux-gnu.
gcc/ChangeLog:
* tree-ssa-dce.cc (simple_dce_from_worklist): Record
stats on removed number of statements and phis.
Diffstat (limited to 'gcc/gcov.cc')
0 files changed, 0 insertions, 0 deletions