[Arm] Cleanup IT attributes
commit113c53c3b8c54baa928aaba237aded0c47097334
authorWilco Dijkstra <wdijkstr@arm.com>
Mon, 6 Nov 2017 19:26:27 +0000 (6 19:26 +0000)
committerWilco Dijkstra <wilco@gcc.gnu.org>
Mon, 6 Nov 2017 19:26:27 +0000 (6 19:26 +0000)
tree2b67487a2e25d8d650c309a1f1bca381d6e40560
parentaeed6d61ef523e1a651ac146c020e499631e4ed2
[Arm] Cleanup IT attributes

A recent change to remove the movdi_vfp_cortexa8 meant that ldrd was used in
ITs block even when arm_restrict_it was enabled.  Rather than just fixing this
latent issue, change the default of predicable_short_it to "no" so that only
16-bit instructions need to be marked with it.  As a result there are far fewer
patterns that need the attribute, and omitting predicable_short_it is no longer
causing issues.

* config/arm/arm.md (predicable_short_it): Change default to "no",
improve documentation, remove uses that are identical to the default.
(enabled_for_depr_it): Rename to enabled_for_short_it.
* gcc/config/arm/arm-fixed.md (predicable_short_it): Remove default uses.
* gcc/config/arm/ldmstm.md (predicable_short_it): Likewise.
* gcc/config/arm/sync.md (predicable_short_it): Likewise.
* gcc/config/arm/thumb2.md (predicable_short_it): Likewise.
* gcc/config/arm/vfp.md (predicable_short_it): Likewise.

From-SVN: r254463
gcc/ChangeLog
gcc/config/arm/arm-fixed.md
gcc/config/arm/arm.md
gcc/config/arm/ldmstm.md
gcc/config/arm/sync.md
gcc/config/arm/thumb2.md
gcc/config/arm/vfp.md