[arm] fix constraints on addsi3_carryin_alt2
authorRichard Earnshaw <rearnsha@arm.com>
Fri, 18 Oct 2019 19:02:12 +0000 (19:02 +0000)
committerRichard Earnshaw <rearnsha@gcc.gnu.org>
Fri, 18 Oct 2019 19:02:12 +0000 (19:02 +0000)
commit494c4921c7c7970562ab3ee3838809e8e7f0623a
treeaf3dd36ee4b7c0d91e7b8cf7f0d499b29954255e
parent717e1281604655ef608931fff028f02d462e78b6
[arm] fix constraints on addsi3_carryin_alt2

addsi3_carryin_alt2 has a more strict constraint than the predicate
when adding a constant.  This leads to sub-optimal code in some
circumstances.

* config/arm/arm.md (addsi3_carryin_alt2): Use arm_not_operand for
operand 2.

From-SVN: r277168
gcc/ChangeLog
gcc/config/arm/arm.md