diff options
author | Richard Sandiford <richard.sandiford@arm.com> | 2019-09-17 15:02:15 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2019-09-17 15:02:15 +0000 |
commit | 5d4efa795e09a17e1773e8862db8f55aa7fe90c5 (patch) | |
tree | ff8e9d2a9d838ee0c6d16740cf8b9ca1caf6508f /gcc/config/arm | |
parent | 7dbc2e3b6d3613473844273f24649db0b5b8461b (diff) | |
download | gcc-5d4efa795e09a17e1773e8862db8f55aa7fe90c5.tar.gz |
[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
Diffstat (limited to 'gcc/config/arm')
-rw-r--r-- | gcc/config/arm/thumb1.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/arm/thumb1.md b/gcc/config/arm/thumb1.md index b142bfcb837..5c70200bef3 100644 --- a/gcc/config/arm/thumb1.md +++ b/gcc/config/arm/thumb1.md @@ -1944,7 +1944,7 @@ "TARGET_THUMB1" "mov\\t%|pc, %0" [(set_attr "length" "2") - (set_attr "type" "no_insn")] + (set_attr "type" "branch")] ) (define_insn_and_split "thumb_eh_return" |