Commit c7580f6e by Richard Biener Committed by Richard Biener

gimple-fold.c (fold_gimple_assign): Remove folding of GIMPLE_BINARY_RHS.

2015-07-31  Richard Biener  <rguenther@suse.de>

	* gimple-fold.c (fold_gimple_assign): Remove folding of
	GIMPLE_BINARY_RHS.

From-SVN: r226429
parent cb3306e5
2015-07-31 Richard Biener <rguenther@suse.de>
* gimple-fold.c (fold_gimple_assign): Remove folding of
GIMPLE_BINARY_RHS.
2015-07-31 Tom de Vries <tom@codesourcery.com>
PR tree-optimization/66846
......
......@@ -413,20 +413,6 @@ fold_gimple_assign (gimple_stmt_iterator *si)
break;
case GIMPLE_BINARY_RHS:
if (TREE_CODE_CLASS (subcode) != tcc_comparison)
{
result = fold_binary_loc (loc, subcode,
TREE_TYPE (gimple_assign_lhs (stmt)),
gimple_assign_rhs1 (stmt),
gimple_assign_rhs2 (stmt));
if (result)
{
STRIP_USELESS_TYPE_CONVERSION (result);
if (valid_gimple_rhs_p (result))
return result;
}
}
break;
case GIMPLE_TERNARY_RHS:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment