* config/ia64/ia64.c
authorAndreas Schwab <schwab@suse.de>
Mon, 2 Jun 2014 07:53:26 +0000 (07:53 +0000)
committerAndreas Schwab <schwab@gcc.gnu.org>
Mon, 2 Jun 2014 07:53:26 +0000 (07:53 +0000)
(ia64_first_cycle_multipass_dfa_lookahead_guard): Check
pending_data_specs first.

From-SVN: r211127

gcc/ChangeLog
gcc/config/ia64/ia64.c

index 7559fbe..7e524c6 100644 (file)
@@ -1,3 +1,9 @@
+2014-06-02  Andreas Schwab  <schwab@suse.de>
+
+       * config/ia64/ia64.c
+       (ia64_first_cycle_multipass_dfa_lookahead_guard): Check
+       pending_data_specs first.
+
 2014-06-02  Richard Biener  <rguenther@suse.de>
 
        PR tree-optimization/61378
index 118e5bf..4c5390b 100644 (file)
@@ -7536,7 +7536,7 @@ ia64_first_cycle_multipass_dfa_lookahead_guard (rtx insn, int ready_index)
 
   /* Size of ALAT is 32.  As far as we perform conservative
      data speculation, we keep ALAT half-empty.  */
-  if ((TODO_SPEC (insn) & BEGIN_DATA) && pending_data_specs >= 16)
+  if (pending_data_specs >= 16 && (TODO_SPEC (insn) & BEGIN_DATA))
     return ready_index == 0 ? -1 : 1;
 
   if (ready_index == 0)