]> git.ipfire.org Git - thirdparty/gcc.git/commit
mergephi: Add stats
authorAndrew Pinski <andrew.pinski@oss.qualcomm.com>
Sat, 15 Nov 2025 22:44:21 +0000 (14:44 -0800)
committerAndrew Pinski <andrew.pinski@oss.qualcomm.com>
Mon, 17 Nov 2025 19:06:44 +0000 (11:06 -0800)
commitfd498ee0909d494f19fbb5803942ca423f2cc763
tree25dc3acbab30ed9a01a3b946aca305bd3eb97d20
parentedde0ae2b5299aeef5555346788d9059de45d813
mergephi: Add stats

This just adds a simple stats recording. Main reason is that I want to find
out if we can remove one of the mergephi now.

Bootstrapped and tested on x86_64-linux-gnu.

gcc/ChangeLog:

* tree-cfgcleanup.cc (pass_merge_phi::execute): Add stats for the removed
blocks.

Signed-off-by: Andrew Pinski <andrew.pinski@oss.qualcomm.com>
gcc/tree-cfgcleanup.cc