From 5a9ecd4a8622a9d328600ce1ec97a1ebc5d765e7 Mon Sep 17 00:00:00 2001 From: amylaar Date: Sun, 6 Nov 2011 22:58:54 +0000 Subject: * regset.h (fixed_reg_set_regset): Declare. * dse.c: Include regset.h . (struct insn_info): Add member fixed_regs_live. (note_add_store_info): New typedef. (note_add_store): New function. (emit_inc_dec_insn_before): Expect arg to be of type insn_info_t . Use gen_add3_insn / gen_move_insn. Check new insn for unwanted clobbers before emitting it. (check_for_inc_dec): Rename to... (check_for_inc_dec_1:) ... this. Return bool. Take insn_info parameter. Changed all callers in file. (check_for_inc_dec, copy_fixed_regs): New functions. (scan_insn): Set fixed_regs_live field of insn_info. * rtl.h (check_for_inc_dec): Update prototype. * postreload.c (reload_cse_simplify): Take new signature of check_ind_dec into account. * reginfo.c (fixed_reg_set_regset): New variable. (init_reg_sets_1): Initialize it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@181046 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/rtl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/rtl.h') diff --git a/gcc/rtl.h b/gcc/rtl.h index 41536bea02c..fd3e3ef641e 100644 --- a/gcc/rtl.h +++ b/gcc/rtl.h @@ -2396,7 +2396,7 @@ extern int exp_equiv_p (const_rtx, const_rtx, int, bool); extern unsigned hash_rtx (const_rtx x, enum machine_mode, int *, int *, bool); /* In dse.c */ -extern void check_for_inc_dec (rtx insn); +extern bool check_for_inc_dec (rtx insn); /* In jump.c */ extern int comparison_dominates_p (enum rtx_code, enum rtx_code); -- cgit v1.2.1