arm.c (arm_canonicalize_comparison): Add case to canonicalize left operand from ZERO_...
authorChung-Lin Tang <cltang@codesourcery.com>
Wed, 20 Jul 2011 06:21:36 +0000 (06:21 +0000)
committerChung-Lin Tang <cltang@gcc.gnu.org>
Wed, 20 Jul 2011 06:21:36 +0000 (06:21 +0000)
commitb0e43da8fb5cef8036f19e4ca75d6862d64cdd22
treeacc93519250b72c3add8ae44a0372b25488e9b29
parente7b6c2cb752ee6f52152e97f9e6e5213efb60edf
arm.c (arm_canonicalize_comparison): Add case to canonicalize left operand from ZERO_EXTEND to AND.

2011-07-20  Chung-Lin Tang  <cltang@codesourcery.com>

* config/arm/arm.c (arm_canonicalize_comparison): Add case to
canonicalize left operand from ZERO_EXTEND to AND.

testsuite/
* gcc.target/arm/combine-movs.c: New.
* gcc.target/arm/unsigned-extend-2.c: New.

From-SVN: r176495
gcc/ChangeLog
gcc/config/arm/arm.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/arm/combine-movs.c [new file with mode: 0644]
gcc/testsuite/gcc.target/arm/unsigned-extend-2.c [new file with mode: 0644]