diff options
author | bonzini <bonzini@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-03-20 08:31:13 +0000 |
---|---|---|
committer | bonzini <bonzini@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-03-20 08:31:13 +0000 |
commit | 243f24c5b968096871674ab2d4131ca87da947af (patch) | |
tree | ac14daea0ef0dd3b428a5ec40c1293f79e2d5e54 /gcc/df.h | |
parent | 9519f67b7354793ab2f76f4e10b48b258e5d6d63 (diff) | |
download | gcc-243f24c5b968096871674ab2d4131ca87da947af.tar.gz |
2007-03-19 Paolo Bonzini <bonzini@gnu.org>
PR rtl-optimization/30907
* fwprop.c (forward_propagate_into): Never propagate inside a loop.
(fwprop_init): Always call loop_optimizer_initialize.
(fwprop_done): Always call loop_optimizer_finalize.
(fwprop): We always have loop info now.
(gate_fwprop_addr): Remove.
(pass_fwprop_addr): Use gate_fwprop as gate.
PR rtl-optimization/30841
* df-problems.c (df_ru_local_compute, df_rd_local_compute,
df_chain_alloc): Call df_reorganize_refs unconditionally.
* df-scan.c (df_rescan_blocks, df_reorganize_refs): Change
refs_organized to refs_organized_size.
(df_ref_create_structure): Use refs_organized_size instead of
bitmap_size if refs had been organized, and keep refs_organized_size
up-to-date.
* df.h (struct df_ref_info): Change refs_organized to
refs_organized_size.
(DF_DEFS_SIZE, DF_USES_SIZE): Use refs_organized_size instead of
bitmap_size.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123084 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/df.h')
-rw-r--r-- | gcc/df.h | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -323,9 +323,9 @@ struct df_ref_info unsigned int refs_size; /* Size of currently allocated refs table. */ unsigned int bitmap_size; /* Number of refs seen. */ - /* True if refs table is organized so that every reference for a + /* >0 if refs table is organized so that every reference for a pseudo is contiguous. */ - bool refs_organized; + unsigned int refs_organized_size; /* True if the next refs should be added immediately or false to defer to later to reorganize the table. */ bool add_refs_inline; @@ -433,10 +433,10 @@ struct df || DF_REF_REG_MEM_LOAD_P (REF)) /* Macros to get the refs out of def_info or use_info refs table. */ -#define DF_DEFS_SIZE(DF) ((DF)->def_info.bitmap_size) +#define DF_DEFS_SIZE(DF) ((DF)->def_info.refs_organized_size) #define DF_DEFS_GET(DF,ID) ((DF)->def_info.refs[(ID)]) #define DF_DEFS_SET(DF,ID,VAL) ((DF)->def_info.refs[(ID)]=(VAL)) -#define DF_USES_SIZE(DF) ((DF)->use_info.bitmap_size) +#define DF_USES_SIZE(DF) ((DF)->use_info.refs_organized_size) #define DF_USES_GET(DF,ID) ((DF)->use_info.refs[(ID)]) #define DF_USES_SET(DF,ID,VAL) ((DF)->use_info.refs[(ID)]=(VAL)) |