diff options
author | Steven Bosscher <steven@gcc.gnu.org> | 2013-11-24 21:59:49 +0000 |
---|---|---|
committer | Steven Bosscher <steven@gcc.gnu.org> | 2013-11-24 21:59:49 +0000 |
commit | 29f3fd5b6ac908a796d0bb21caec02e8416a3c88 (patch) | |
tree | 79fcd005a08d6ca51e2a25820e9ad881a4dc0e2c /gcc/modulo-sched.c | |
parent | 57d6c446c787d1dacd89c5cd504747d6857ad494 (diff) | |
download | gcc-29f3fd5b6ac908a796d0bb21caec02e8416a3c88.zip gcc-29f3fd5b6ac908a796d0bb21caec02e8416a3c88.tar.gz gcc-29f3fd5b6ac908a796d0bb21caec02e8416a3c88.tar.bz2 |
re PR bootstrap/59279 (r205337 breaks bootstrap with java)
PR bootstrap/59279
Revert previous commit.
From-SVN: r205338
Diffstat (limited to 'gcc/modulo-sched.c')
-rw-r--r-- | gcc/modulo-sched.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/modulo-sched.c b/gcc/modulo-sched.c index 444ffda..f313044 100644 --- a/gcc/modulo-sched.c +++ b/gcc/modulo-sched.c @@ -1471,7 +1471,7 @@ sms_schedule (void) continue; } - /* Don't handle BBs with calls + /* Don't handle BBs with calls or barriers or !single_set with the exception of instructions that include count_reg---these instructions are part of the control part that do-loop recognizes. @@ -1481,6 +1481,7 @@ sms_schedule (void) rtx set; if (CALL_P (insn) + || BARRIER_P (insn) || (NONDEBUG_INSN_P (insn) && !JUMP_P (insn) && !single_set (insn) && GET_CODE (PATTERN (insn)) != USE && !reg_mentioned_p (count_reg, insn)) @@ -1495,6 +1496,8 @@ sms_schedule (void) { if (CALL_P (insn)) fprintf (dump_file, "SMS loop-with-call\n"); + else if (BARRIER_P (insn)) + fprintf (dump_file, "SMS loop-with-barrier\n"); else if ((NONDEBUG_INSN_P (insn) && !JUMP_P (insn) && !single_set (insn) && GET_CODE (PATTERN (insn)) != USE)) fprintf (dump_file, "SMS loop-with-not-single-set\n"); |