Commit b7b528a4 by Bin Cheng Committed by Bin Cheng

re PR rtl-optimization/69052 (Performance regression after r229402.)


	PR rtl-optimization/69052
	* rtlanal.c (commutative_operand_precedence): Set higher precedence
	to CONST_WIDE_INT.

From-SVN: r234034
parent e41f6c9e
2016-03-07 Bin Cheng <bin.cheng@arm.com>
PR rtl-optimization/69052
* rtlanal.c (commutative_operand_precedence): Set higher precedence
to CONST_WIDE_INT.
2016-03-07 Tom de Vries <tom@codesourcery.com>
PR tree-optimization/70116
......
......@@ -3358,7 +3358,7 @@ commutative_operand_precedence (rtx op)
if (code == CONST_INT)
return -8;
if (code == CONST_WIDE_INT)
return -8;
return -7;
if (code == CONST_DOUBLE)
return -7;
if (code == CONST_FIXED)
......
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