re PR rtl-optimization/38711 (ira should not be using df-lr except at -O1.)
PR rtl-optimization/38711 * df.h (df_get_live_out, df_get_live_in): Make static inline functions. * df-problems.c (df_get_live_out, df_get_live_in): Moved to df.h. * ira-lives.c (process_bb_node_lives): Use df_get_live_out instead of DF_LR_OUT. * ira-build.c (create_bb_allocnos): Likewise. (create_loop_allocnos): Likewise, and use df_get_live_in instead of DF_LR_IN. * ira-emit.c (generate_edge_moves): Likewise. (add_ranges_and_copies): Likewise. * ira-color.c (ira_loop_edge_freq): Use df_get_live_out instead of DF_LR_OUT, and df_get_live_in instead of DF_LR_IN. * ira.c (mark_elimination): Update DF_LR and DF_LIVE. (build_insn_chain): Use df_get_live_out instead of DF_LR_OUT. (do_reload): Remove the DF_LIVE problem for -O1. From-SVN: r192440
Showing
- gcc/ChangeLog 19 additions, 0 deletionsgcc/ChangeLog
- gcc/df-problems.c 0 additions, 36 deletionsgcc/df-problems.c
- gcc/df.h 37 additions, 3 deletionsgcc/df.h
- gcc/ira-build.c 3 additions, 3 deletionsgcc/ira-build.c
- gcc/ira-color.c 4 additions, 4 deletionsgcc/ira-color.c
- gcc/ira-emit.c 9 additions, 5 deletionsgcc/ira-emit.c
- gcc/ira-lives.c 1 addition, 1 deletiongcc/ira-lives.c
- gcc/ira.c 19 additions, 18 deletionsgcc/ira.c
Loading
Please register or sign in to comment