[ARM][4/4] Simplify checks for CONST_INT_P and comparison against 1/0
authorKyrylo Tkachov <kyrylo.tkachov@arm.com>
Tue, 24 May 2016 14:04:03 +0000 (14:04 +0000)
committerKyrylo Tkachov <ktkachov@gcc.gnu.org>
Tue, 24 May 2016 14:04:03 +0000 (14:04 +0000)
commitd1fb69400edb679142810fb86cc4c80254c60787
tree9d2b0bb2933f03a275856f4436d5f7008cfd233c
parentdec21bbc9773ebe3e066109b00d1fbeee0b18581
[ARM][4/4] Simplify checks for CONST_INT_P and comparison against 1/0

* config/arm/neon.md (ashldi3_neon):  Replace comparison of INTVAL of
operands[2] against 1 with comparison against CONST1_RTX.
(<shift>di3_neon): Likewise.
* config/arm/predicates.md (const0_operand): Replace with comparison
against CONST0_RTX.

From-SVN: r236641
gcc/ChangeLog
gcc/config/arm/neon.md
gcc/config/arm/predicates.md