]> git.ipfire.org Git - thirdparty/gcc.git/commit
phiopt: Remove candorest variable return instead
authorAndrew Pinski <quic_apinski@quicinc.com>
Thu, 10 Oct 2024 04:44:23 +0000 (04:44 +0000)
committerAndrew Pinski <quic_apinski@quicinc.com>
Thu, 10 Oct 2024 15:32:36 +0000 (15:32 +0000)
commitdc3015ff0934a48176c43c0582d5a93029d298f9
tree4c58a042caca941ef848828c2ed05e76c4428a12
parentfd8e590ff11266598d8f9b3d03d72ba7a6100512
phiopt: Remove candorest variable return instead

After r15-3560-gb081e6c860eb9688d24365d39, the setting of candorest
with the break can just change to a return since this is inside a lambda now.

Bootstrapped and tested on x86_64-linux-gnu.

gcc/ChangeLog:

* tree-ssa-phiopt.cc (pass_phiopt::execute): Remove candorest
and return instead of setting candorest.

Signed-off-by: Andrew Pinski <quic_apinski@quicinc.com>
gcc/tree-ssa-phiopt.cc