]> git.ipfire.org Git - thirdparty/gcc.git/commit
[arm] Fix insn type of *thumb1_tablejump
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 17 Sep 2019 15:02:15 +0000 (15:02 +0000)
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 17 Sep 2019 15:02:15 +0000 (15:02 +0000)
commit91a19dfc91dcc5c4f981712f7973322a77d74e25
treeff8e9d2a9d838ee0c6d16740cf8b9ca1caf6508f
parent6518eafd68b5c938fcf17271b0521b98728d6039
[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".

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@275806 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/arm/thumb1.md