mips.c (mips_canonicalize_comparison): Check mips_relational_operand_ok_p before...
commit213ce6f2c0708ec60e77e0b91cbb5b51b824775c
authorRichard Sandiford <rsandifo@nildram.co.uk>
Fri, 19 Oct 2007 09:17:17 +0000 (19 09:17 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Fri, 19 Oct 2007 09:17:17 +0000 (19 09:17 +0000)
tree0efc2df8f4f9a1aaa64a0ab8542de8bd3d752679
parentb87bc4e835ac462427c9185ea2ad120f1338dd7e
mips.c (mips_canonicalize_comparison): Check mips_relational_operand_ok_p before trying to rewrite the test.

gcc/
* config/mips/mips.c (mips_canonicalize_comparison):  Check
mips_relational_operand_ok_p before trying to rewrite the test.
Only calculate PLUS_ONE if needed.
(mips_emit_int_relational): Don't call mips_relational_operand_ok_p
here.

From-SVN: r129483
gcc/ChangeLog
gcc/config/mips/mips.c