]> git.ipfire.org Git - thirdparty/gcc.git/commit
phiprop: Small compile time improvement for phiprop
authorAndrew Pinski <andrew.pinski@oss.qualcomm.com>
Tue, 25 Nov 2025 07:34:45 +0000 (23:34 -0800)
committerAndrew Pinski <andrew.pinski@oss.qualcomm.com>
Wed, 26 Nov 2025 02:34:22 +0000 (18:34 -0800)
commitd4e439f395e807f0f7606f92288db8be9852b2f4
tree1116caab46116fe02feb7ed632928f2a4e08a6f0
parente75a9e33b97cfdcc76b6bfea3e7ca6184be5d5c0
phiprop: Small compile time improvement for phiprop

Now that post dom information is only needed when the new store
can trap (since r16-5555-g952e145796d), only calculate it when
that is the case. It was calculated on demand by
r14-2051-g3124bfb14c0bdc. This just changes when we need to
calculate it.

Pushed as obvious.

gcc/ChangeLog:

* tree-ssa-phiprop.cc (propagate_with_phi): Only
calculate on demand post dom info when the new store
might trap.

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