[arm][aarch64] Handle no_insn in TARGET_SCHED_VARIABLE_ISSUE
authorRichard Sandiford <richard.sandiford@arm.com>
Tue, 17 Sep 2019 17:01:10 +0000 (17:01 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Tue, 17 Sep 2019 17:01:10 +0000 (17:01 +0000)
commitd0bc0cb66bcb0e6a5a5a31a9e900e8ccc98e34e5
treeb8330840a9094d1f5621f3b10e6d1d611e2ad50c
parentf62281dc1b3d751977266d8c30b4488833fcb9dd
[arm][aarch64] Handle no_insn in TARGET_SCHED_VARIABLE_ISSUE

Since no_insn patterns expand to no instructions, they shouldn't
count against the issue rate, just like USEs and CLOBBERs don't.

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

gcc/
* config/aarch64/aarch64.c (aarch64_sched_variable_issue): New
function.
(TARGET_SCHED_VARIABLE_ISSUE): New macro.
* config/arm/arm.c (arm_sched_variable_issue): New function.
(TARGET_SCHED_VARIABLE_ISSUE): New macro.

From-SVN: r275808
gcc/ChangeLog
gcc/config/aarch64/aarch64.c
gcc/config/arm/arm.c