]> git.ipfire.org Git - thirdparty/gcc.git/commit
split-path: CALL_EXPR can't show up in gimple_assign
authorAndrew Pinski <quic_apinski@quicinc.com>
Tue, 28 Jan 2025 20:20:25 +0000 (12:20 -0800)
committerAndrew Pinski <quic_apinski@quicinc.com>
Wed, 29 Jan 2025 13:34:53 +0000 (05:34 -0800)
commiteafdce175a4e22bebf42e37a94d528eb52f92f16
tree0271fe8d3c753c453efc30315d587b3424282b84
parent3d07e7bf13d4aec794dd25b5090c139b4d78283d
split-path: CALL_EXPR can't show up in gimple_assign

While working on split path, I noticed that poor_ifcvt_candidate_code
would check for CALL_EXPR but that can't show up in gimple_assign
so this removes that check.

This could be a very very small compile time improvement.

Bootstrapped and tested on x86_64-linux-gnu.

gcc/ChangeLog:

* gimple-ssa-split-paths.cc (poor_ifcvt_candidate_code): Remove CALL_EXPR handling.

Signed-off-by: Andrew Pinski <quic_apinski@quicinc.com>
gcc/gimple-ssa-split-paths.cc