diff options
author | Jeff Law <law@gcc.gnu.org> | 2002-05-29 13:55:34 -0600 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 2002-05-29 13:55:34 -0600 |
commit | e7206fbc5c2615615180bf23d52727994d6b4a63 (patch) | |
tree | 3ca16b30a6b68951a3d1916e374823b5b7964d26 /gcc/haifa-sched.c | |
parent | 8dc901ded38b2ad59f56ca82d9d8043d4fa92d18 (diff) | |
download | gcc-e7206fbc5c2615615180bf23d52727994d6b4a63.zip gcc-e7206fbc5c2615615180bf23d52727994d6b4a63.tar.gz gcc-e7206fbc5c2615615180bf23d52727994d6b4a63.tar.bz2 |
Revert this patch:
- * haifa-sched.c (schedule_block): Do not count USE and CLOBBER
- insns against the issue rate.
-
- * sched-deps.c (sched_create_groups_for_libcalls): New function.
- (sched_analyze): Use it.
From-SVN: r54015
Diffstat (limited to 'gcc/haifa-sched.c')
-rw-r--r-- | gcc/haifa-sched.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/gcc/haifa-sched.c b/gcc/haifa-sched.c index a03b9b3..63a3135 100644 --- a/gcc/haifa-sched.c +++ b/gcc/haifa-sched.c @@ -2179,10 +2179,7 @@ schedule_block (b, rgn_n_insns) can_issue_more = (*targetm.sched.variable_issue) (sched_dump, sched_verbose, insn, can_issue_more); - /* A naked CLOBBER or USE generates no instruction, so do - not count them against the issue rate. */ - else if (GET_CODE (PATTERN (insn)) != USE - && GET_CODE (PATTERN (insn)) != CLOBBER) + else can_issue_more--; schedule_insn (insn, &ready, clock_var); |