Fix last-minute change to previs tree-ssa-loop-ch.cc patch

gcc/ChangeLog:

	* tree-ssa-loop-ch.cc (should_duplicate_loop_header_p): Use BIT instead of TRUTH
	logical ops.
This commit is contained in:
Jan Hubicka 2023-07-20 17:53:31 +02:00
parent c0c5a57bff
commit 70e4607391

View file

@ -312,8 +312,8 @@ should_duplicate_loop_header_p (basic_block header, class loop *loop,
_3 = _1 & _2 <- combined static and iv statement. */
tree_code code;
if (gimple_code (last) == GIMPLE_ASSIGN
&& ((code = gimple_assign_rhs_code (last)) == TRUTH_AND_EXPR
|| code == TRUTH_OR_EXPR || code == TRUTH_XOR_EXPR))
&& ((code = gimple_assign_rhs_code (last)) == BIT_AND_EXPR
|| code == BIT_IOR_EXPR || code == BIT_XOR_EXPR))
{
tree op1 = gimple_assign_rhs1 (last);
tree op2 = gimple_assign_rhs2 (last);