[RTL-ifcvt] Allow PLUS+immediate expression in noce_try_store_flag_constants
authorKyrylo Tkachov <kyrylo.tkachov@arm.com>
Thu, 13 Aug 2015 17:06:14 +0000 (17:06 +0000)
committerKyrylo Tkachov <ktkachov@gcc.gnu.org>
Thu, 13 Aug 2015 17:06:14 +0000 (17:06 +0000)
commitc4f855e939f4d5ec5f0689148416c4e5a9c65f12
treee685ff24cb587d4b60da1a55d574e0caa47ee177
parent42b7febc53cac744c7d0c0ae6e2dae0876b7d896
[RTL-ifcvt] Allow PLUS+immediate expression in noce_try_store_flag_constants

* ifcvt.c (noce_try_store_flag_constants): Handle PLUS-immediate
expressions in A and B.

* gcc.target/aarch64/cinc_common_1.c: New test.

From-SVN: r226869
gcc/ChangeLog
gcc/ifcvt.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/aarch64/cinc_common_1.c [new file with mode: 0644]