aboutsummaryrefslogtreecommitdiff
path: root/gcc/haifa-sched.c
diff options
context:
space:
mode:
authorRadovan Obradovic <robradovic@mips.com>2014-04-25 11:21:18 +0000
committerTom de Vries <vries@gcc.gnu.org>2014-04-25 11:21:18 +0000
commit356bf5934944d4259bf8feffed3f749c71fc2e37 (patch)
tree17d51591cd963cb85249cafcbb3755cfffa2cad8 /gcc/haifa-sched.c
parentfe65a7edc6f7a6b86e3f5c4f682b4bb48c429e85 (diff)
downloadgcc-356bf5934944d4259bf8feffed3f749c71fc2e37.zip
gcc-356bf5934944d4259bf8feffed3f749c71fc2e37.tar.gz
gcc-356bf5934944d4259bf8feffed3f749c71fc2e37.tar.bz2
Add implicit parameter to find_all_hard_reg_sets
2014-04-25 Radovan Obradovic <robradovic@mips.com> Tom de Vries <tom@codesourcery.com> * rtlanal.c (find_all_hard_reg_sets): Add bool implicit parameter and handle. * rtl.h (find_all_hard_reg_sets): Add bool parameter. * haifa-sched.c (recompute_todo_spec, check_clobbered_conditions): Add new argument to find_all_hard_reg_sets call. Co-Authored-By: Tom de Vries <tom@codesourcery.com> From-SVN: r209798
Diffstat (limited to 'gcc/haifa-sched.c')
-rw-r--r--gcc/haifa-sched.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/haifa-sched.c b/gcc/haifa-sched.c
index 2d66e5c..5d16b4d 100644
--- a/gcc/haifa-sched.c
+++ b/gcc/haifa-sched.c
@@ -1299,7 +1299,7 @@ recompute_todo_spec (rtx next, bool for_backtrack)
{
HARD_REG_SET t;
- find_all_hard_reg_sets (prev, &t);
+ find_all_hard_reg_sets (prev, &t, true);
if (TEST_HARD_REG_BIT (t, regno))
return HARD_DEP;
if (prev == pro)
@@ -3082,7 +3082,7 @@ check_clobbered_conditions (rtx insn)
if ((current_sched_info->flags & DO_PREDICATION) == 0)
return;
- find_all_hard_reg_sets (insn, &t);
+ find_all_hard_reg_sets (insn, &t, true);
restart:
for (i = 0; i < ready.n_ready; i++)