aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-dom.c
AgeCommit message (Collapse)AuthorFilesLines
2004-05-31tree-ssa-dom.c (record_equivalences_from_incoming_edge): Only look at case ↵Steven Bosscher1-2/+6
labels if the immediate dominator is also the only predecessor. * tree-ssa-dom.c (record_equivalences_from_incoming_edge): Only look at case labels if the immediate dominator is also the only predecessor. Don't look for more case labels if the first seen is a case range. From-SVN: r82480
2004-05-30c-common.c, [...]: Fix comment typos.Kazu Hirata1-6/+6
* c-common.c, calls.c, cfgcleanup.c, cgraph.c, cgraphunit.c, ddg.c, ddg.h, df.c, df.h, except.c, expr.c, flags.h, fold-const.c, gcc.c, gimplify.c, haifa-sched.c, modulo-sched.c, tree-inline.c, tree-into-ssa.c, tree-nested.c, tree-nrv.c, tree-ssa-ccp.c, tree-ssa-dom.c, tree-ssa-live.c, tree-ssa-loop.c, tree-ssa-pre.c, tree-tailcall.c, tree.h: Fix comment typos. Follow spelling conventions. From-SVN: r82439
2004-05-17toplev.h (flag_delete_null_pointer_checks): Move from here to...Jeff Law1-22/+51
* toplev.h (flag_delete_null_pointer_checks): Move from here to... * flags.h (flag_delete_null_pointer_checks): Here. * tree-flow.h (cprop_into_successor_phis): Add argument to prototype. * tree-phinodes.c (resize_phi_node): Initialize PHI_ARG_NONZERO. (add_phi_arg, remove_phi_arg_num): Similarly. * tree-ssa-copy.c (cprop_into_successor_phis): Propagate nonzero property into PHI nodes. * tree-ssa-dom.c: Remove redundant inclusion of flags.h. (record_equivalences_from_phis): If all PHI arguments are known to be nonzero, then the result must be nonzero as well. (cprop_into_phis): Pass nonzero_vars bitmap to cprop_into_successor_phis (record_equivalences_from_stmt): Check flag_delete_null_pointer_checks appropriately. Walk the USE-DEF chains and propagate nonzero property as appropriate. * tree.h (PHI_ARG_NONZERO): Define. (phi_arg_d): Add nonzero flag. From-SVN: r81968
2004-05-15tree-ssa-dom.c (redirect_edges_and_update_ssa_graph): Don't even bother ↵Jeff Law1-17/+36
marking bypassed virtuals for out-of-ssa. * tree-ssa-dom.c (redirect_edges_and_update_ssa_graph): Don't even bother marking bypassed virtuals for out-of-ssa. Instead merge bypassed virtuals into vars_to_rename just before into-ssa pass. From-SVN: r81872
2004-05-14tree-ssa-dom.c (simplify_rhs_and_lookup_avail_expr): Reorganize so that it ↵Jeff Law1-2/+22
picks up more opportunities to eliminate ABS expressions... * tree-ssa-dom.c (simplify_rhs_and_lookup_avail_expr): Reorganize so that it picks up more opportunities to eliminate ABS expressions or turn them into negations. * gcc.dg/tree-ssa/20040514-2.c: New test. From-SVN: r81853
2004-05-13tree-ssa-dom.c (tree_ssa_dominator_optimize): Free nonzero_vars at the end ↵Andrew Pinski1-0/+3
of the function. 2004-05-13 Andrew Pinski <pinskia@physics.uc.edu> * tree-ssa-dom.c (tree_ssa_dominator_optimize): Free nonzero_vars at the end of the function. From-SVN: r81788
2004-05-13Merge tree-ssa-20020619-branch into mainline.Diego Novillo1-0/+3121
From-SVN: r81764