Commit 8ce9fd5d by Andreas Schwab

revert: cfgrtl.c (rtl_verify_flow_info_1): Don't apply BLOCK_FOR_INSN on a BARRIER insn.

Revert:
2008-12-12  Andreas Schwab  <schwab@suse.de>
* cfgrtl.c (rtl_verify_flow_info_1): Don't apply BLOCK_FOR_INSN on
a BARRIER insn.

From-SVN: r142721
parent 04f182b1
2008-12-12 Andreas Schwab <schwab@suse.de>
Revert:
2008-12-12 Andreas Schwab <schwab@suse.de>
* cfgrtl.c (rtl_verify_flow_info_1): Don't apply BLOCK_FOR_INSN on
a BARRIER insn.
2008-12-12 Zdenek Dvorak <ook@ucw.cz> 2008-12-12 Zdenek Dvorak <ook@ucw.cz>
PR tree-optimization/32044 PR tree-optimization/32044
...@@ -13,10 +20,10 @@ ...@@ -13,10 +20,10 @@
2008-12-12 Dwarakanath Rajagopal <dwarak.rajagopal@amd.com> 2008-12-12 Dwarakanath Rajagopal <dwarak.rajagopal@amd.com>
* config/i386/x86intrin.h: New header file to support all x86 * config/i386/x86intrin.h: New header file to support all x86
intrinsics intrinsics
* config.gcc (extra_headers): For x86 and x86-64, add x86intrin.h * config.gcc (extra_headers): For x86 and x86-64, add x86intrin.h
2008-12-12 H.J. Lu <hongjiu.lu@intel.com> 2008-12-12 H.J. Lu <hongjiu.lu@intel.com>
PR target/38402 PR target/38402
...@@ -157,8 +164,8 @@ ...@@ -157,8 +164,8 @@
* tree-flow.h (remove_phi_nodes, canonicalize_loop_ivs): Declared. * tree-flow.h (remove_phi_nodes, canonicalize_loop_ivs): Declared.
* Makefile.in (graphite.o): Depend on value-prof.h. * Makefile.in (graphite.o): Depend on value-prof.h.
(graphite.o-warn): Removed -Wno-error. (graphite.o-warn): Removed -Wno-error.
* tree-parloops.c (canonicalize_loop_ivs): Allow reduction_list * tree-parloops.c (canonicalize_loop_ivs): Allow reduction_list
to be a NULL pointer. Call update_stmt. Return the newly created to be a NULL pointer. Call update_stmt. Return the newly created
cannonical induction variable. cannonical induction variable.
* graphite.h (debug_rename_map): Declared. Fix some comments. * graphite.h (debug_rename_map): Declared. Fix some comments.
...@@ -171,7 +178,7 @@ ...@@ -171,7 +178,7 @@
(new_graphite_bb): Test for useful statements before building a (new_graphite_bb): Test for useful statements before building a
graphite statement for the basic block. graphite statement for the basic block.
(free_graphite_bb): Do not free GBB_DATA_REFS: this is a bug (free_graphite_bb): Do not free GBB_DATA_REFS: this is a bug
in free_data_ref that calls BITMAP_FREE (DR_VOPS (dr)) without in free_data_ref that calls BITMAP_FREE (DR_VOPS (dr)) without
reason. reason.
(recompute_all_dominators, graphite_verify, (recompute_all_dominators, graphite_verify,
nb_reductions_in_loop, graphite_loop_normal_form): New. nb_reductions_in_loop, graphite_loop_normal_form): New.
...@@ -191,7 +198,7 @@ ...@@ -191,7 +198,7 @@
(debug_rename_elt, debug_rename_map_1, debug_rename_map): New. (debug_rename_elt, debug_rename_map_1, debug_rename_map): New.
(remove_all_edges_1, remove_all_edges): Removed. (remove_all_edges_1, remove_all_edges): Removed.
(get_new_name_from_old_name): New. (get_new_name_from_old_name): New.
(graphite_rename_variables_in_stmt): Renamed (graphite_rename_variables_in_stmt): Renamed
rename_variables_in_stmt. Call get_new_name_from_old_name. rename_variables_in_stmt. Call get_new_name_from_old_name.
Use replace_exp and update_stmt. Use replace_exp and update_stmt.
(is_old_iv): Renamed is_iv. (is_old_iv): Renamed is_iv.
...@@ -211,7 +218,7 @@ ...@@ -211,7 +218,7 @@
copy_bb_and_scalar_dependences): New. copy_bb_and_scalar_dependences): New.
(translate_clast): Heavily reimplemented: copy basic blocks, (translate_clast): Heavily reimplemented: copy basic blocks,
do not move them. Finally, in call cleanup_tree_cfg in gloog. do not move them. Finally, in call cleanup_tree_cfg in gloog.
At each translation step call graphite_verify ensuring the At each translation step call graphite_verify ensuring the
consistency of the SSA, loops and dominators information. consistency of the SSA, loops and dominators information.
(collect_virtual_phis, find_vdef_for_var_in_bb, (collect_virtual_phis, find_vdef_for_var_in_bb,
find_vdef_for_var_1, find_vdef_for_var, find_vdef_for_var_1, find_vdef_for_var,
...@@ -222,13 +229,13 @@ ...@@ -222,13 +229,13 @@
(remove_sese_region, ifsese, if_region_entry, if_region_exit, (remove_sese_region, ifsese, if_region_entry, if_region_exit,
if_region_get_condition_block, if_region_set_false_region, if_region_get_condition_block, if_region_set_false_region,
create_if_region_on_edge, move_sese_in_condition, bb_in_sese_p, create_if_region_on_edge, move_sese_in_condition, bb_in_sese_p,
sese_find_uses_to_rename_use, sese_find_uses_to_rename_bb, sese_find_uses_to_rename_use, sese_find_uses_to_rename_bb,
sese_add_exit_phis_edge, sese_add_exit_phis_var, sese_add_exit_phis_edge, sese_add_exit_phis_var,
rewrite_into_sese_closed_ssa): New. rewrite_into_sese_closed_ssa): New.
(gloog): Remove dead code. Early return if code cannot be (gloog): Remove dead code. Early return if code cannot be
generated. Call cleanup_tree_cfg once the scop has been code generated. Call cleanup_tree_cfg once the scop has been code
generated. generated.
(graphite_trans_scop_block, graphite_trans_loop_block): Do not (graphite_trans_scop_block, graphite_trans_loop_block): Do not
block loops with less than two loops. block loops with less than two loops.
(graphite_apply_transformations): Remove the call to (graphite_apply_transformations): Remove the call to
scop_remove_ignoreable_gbbs. scop_remove_ignoreable_gbbs.
...@@ -395,7 +402,7 @@ ...@@ -395,7 +402,7 @@
mark_reg_dead, process_bb_node_lives): Ditto. mark_reg_dead, process_bb_node_lives): Ditto.
* ira-emit.c (ira_emit): Fix insn codes. * ira-emit.c (ira_emit): Fix insn codes.
* ira-build.c (propagate_allocno_info): Use flag flag_ira_region * ira-build.c (propagate_allocno_info): Use flag flag_ira_region
instead of flag_ira_algorithm. instead of flag_ira_algorithm.
(allocno_range_compare_func): Ignore classes for priority (allocno_range_compare_func): Ignore classes for priority
...@@ -405,7 +412,7 @@ ...@@ -405,7 +412,7 @@
* genpreds.c (write_enum_constraint_num): Output * genpreds.c (write_enum_constraint_num): Output
CONSTRAINT__LIMIT. CONSTRAINT__LIMIT.
* common.opt (fira-algorithm): Modify. * common.opt (fira-algorithm): Modify.
(fira-region): New. (fira-region): New.
...@@ -425,14 +432,14 @@ ...@@ -425,14 +432,14 @@
(find_allocno_class_costs): Ditto. Use common_classes. Translate (find_allocno_class_costs): Ditto. Use common_classes. Translate
alt_class. alt_class.
(ira_costs): Allocate/deallocate common_classes. (ira_costs): Allocate/deallocate common_classes.
* config/m32c/m32.h (REG_ALLOC_ORDER): Add reg 19. * config/m32c/m32.h (REG_ALLOC_ORDER): Add reg 19.
(REG_CLASS_CONTENTS, reg_class, REG_CLASS_NAMES): New entries for (REG_CLASS_CONTENTS, reg_class, REG_CLASS_NAMES): New entries for
R02A_REGS. R02A_REGS.
* reload1.c (choose_reload_regs): Use MODE_INT for partial ints in * reload1.c (choose_reload_regs): Use MODE_INT for partial ints in
smallest_mode_for_size. smallest_mode_for_size.
2008-12-10 Ben Elliston <bje@au.ibm.com> 2008-12-10 Ben Elliston <bje@au.ibm.com>
* config/rs6000/linux-unwind.h (get_regs): Constify casts. * config/rs6000/linux-unwind.h (get_regs): Constify casts.
...@@ -465,7 +472,7 @@ ...@@ -465,7 +472,7 @@
PR/38366 PR/38366
* function.c (aggregate_value_p): Get fntype from CALL_EXPR in any * function.c (aggregate_value_p): Get fntype from CALL_EXPR in any
case. case.
* calls.c (nitialize_argument_information): Add fntype argument * calls.c (nitialize_argument_information): Add fntype argument
and use it for calls.promote_function_args. and use it for calls.promote_function_args.
(expand_call): Pass fntype to aggregate_value_p if no fndecl (expand_call): Pass fntype to aggregate_value_p if no fndecl
available and pass additional fntype to available and pass additional fntype to
...@@ -1731,8 +1731,7 @@ rtl_verify_flow_info_1 (void) ...@@ -1731,8 +1731,7 @@ rtl_verify_flow_info_1 (void)
} }
FOR_BB_INSNS (bb, insn) FOR_BB_INSNS (bb, insn)
if (!BARRIER_P (insn) if (BLOCK_FOR_INSN (insn) != bb)
&& BLOCK_FOR_INSN (insn) != bb)
{ {
error ("insn %d basic block pointer is %d, should be %d", error ("insn %d basic block pointer is %d, should be %d",
INSN_UID (insn), INSN_UID (insn),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment