[arm] Fix insn type of *thumb1_tablejump
authorRichard Sandiford <richard.sandiford@arm.com>
Tue, 17 Sep 2019 15:02:15 +0000 (15:02 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Tue, 17 Sep 2019 15:02:15 +0000 (15:02 +0000)
commit5d4efa795e09a17e1773e8862db8f55aa7fe90c5
treeff8e9d2a9d838ee0c6d16740cf8b9ca1caf6508f
parent7dbc2e3b6d3613473844273f24649db0b5b8461b
[arm] Fix insn type of *thumb1_tablejump

*thumb1_tablejump had type "no_insn", which doesn't seems to correspond
to its documented use:

  an insn which does not represent an instruction in the final output,
  thus having no impact on scheduling.

Indirect jumps use the same instruction and have type "branch",
so the patch uses "branch" here too.

2019-09-17  Richard Sandiford  <richard.sandiford@arm.com>

gcc/
* config/arm/thumb1.md (*thumb1_tablejump): Change type from
"no_insn" to "branch".

From-SVN: r275806
gcc/ChangeLog
gcc/config/arm/thumb1.md