Skip to content
Snippets Groups Projects
Commit eafdce17 authored by Andrew Pinski's avatar Andrew Pinski
Browse files

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: default avatarAndrew Pinski <quic_apinski@quicinc.com>
parent 3d07e7bf
No related branches found
No related tags found
No related merge requests found
...@@ -138,8 +138,7 @@ poor_ifcvt_candidate_code (enum tree_code code) ...@@ -138,8 +138,7 @@ poor_ifcvt_candidate_code (enum tree_code code)
return (code == MIN_EXPR return (code == MIN_EXPR
|| code == MAX_EXPR || code == MAX_EXPR
|| code == ABS_EXPR || code == ABS_EXPR
|| code == COND_EXPR || code == COND_EXPR);
|| code == CALL_EXPR);
} }
/* Return TRUE if PRED of BB is an poor ifcvt candidate. */ /* Return TRUE if PRED of BB is an poor ifcvt candidate. */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment