cse.c (fold_rtx): When arg1 has a constant equivalent...
authorHans-Peter Nilsson <hp@axis.com>
Wed, 1 Feb 2006 21:15:54 +0000 (21:15 +0000)
committerHans-Peter Nilsson <hp@gcc.gnu.org>
Wed, 1 Feb 2006 21:15:54 +0000 (21:15 +0000)
commit08678f511c3439e279f1d66978a12d324cfbcca1
treee70ddc7be04aa34ecfa022123c32a5a39296a2c3
parent46fd0f8c241a0afd36adf9c63b56839ace3a0210
cse.c (fold_rtx): When arg1 has a constant equivalent...

* cse.c (fold_rtx) <case RTX_COMM_COMPARE, RTX_COMPARE>: When arg1
has a constant equivalent, iterate over equivalents for arg0,
calling simplify_relational_operation and if there's a result
cheaper than X, apply fold_rtx and return the result.

From-SVN: r110481
gcc/ChangeLog
gcc/cse.c