• mmitchel's avatar
    Put phi nodes after NOTE_INSN_BASIC_BLOCK. · 83458610
    mmitchel authored
    	* rtl.h (NOTE_INSN_BASIC_BLOCK_P): New macro.
    	* bb-reorder.c (get_next_bb_note): Use NOTE_INSN_BASIC_BLOCK_P.
    	(get_prev_bb_note): Likewise.
    	(remove_scope_notes): Likewise.
    	* flow.c (commit_one_edge_insertion): Likewise.
    	(merge_blocks_nomove): Likewise.
    	(verify_flow_info): Likewise.
    	* gcse.c (insert_insn_end_bb): Likewise.
    	* reg-stack.c (emit_swap_insn): Likewise.
    	* ssa.c (first_insn_after_basic_block_note): New function.
    	(insert_phi_node): Use it.
    	(rename_block): Likewise.
    	(eliminate_phi): Likewise.
    	(make_regs_equivalent_over_bad_edges): Likewise.
    	(make_equivalent_phi_alternatives_equivalent): Likewise.
    	(for_each_successor_phi): Likewise.
    	(convert_from_ssa): Modify phi-node deletion algorithm.
    
    
    git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@35296 138bc75d-0d04-0410-961f-82ee72b054a4
    83458610
bb-reorder.c 32.9 KB