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
This commit is contained in:
Bin Cheng 2016-03-07 16:39:27 +00:00 committed by Bin Cheng
parent e41f6c9e28
commit b7b528a43b
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
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

View File

@ -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)