[arm] Rewrite addsi3_carryin_shift_<optab> in canonical form
commit717e1281604655ef608931fff028f02d462e78b6
authorRichard Earnshaw <rearnsha@arm.com>
Fri, 18 Oct 2019 19:02:05 +0000 (18 19:02 +0000)
committerRichard Earnshaw <rearnsha@gcc.gnu.org>
Fri, 18 Oct 2019 19:02:05 +0000 (18 19:02 +0000)
treeb211d4fa7bdacc2ca8c8cbef9e1175d645ed13a9
parent0250355849a16456a8b8e6dce2d2d7874696649e
[arm] Rewrite addsi3_carryin_shift_<optab> in canonical form

The add-with-carry operation which involves a shift doesn't match at present
because it isn't matching the canonical form generated by combine.  Fixing
this is simply a matter of re-ordering the operands.

* config/arm/arm.md (addsi3_carryin_shift_<optab>): Reorder operands
to match canonical form.

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