aboutsummaryrefslogtreecommitdiff
path: root/libcpp/macro.c
diff options
context:
space:
mode:
authorSebastian Pop <sebastian.pop@amd.com>2010-06-11 18:28:17 +0000
committerSebastian Pop <spop@gcc.gnu.org>2010-06-11 18:28:17 +0000
commit7b14477e384de8841d377e3c3254f9f3bcc9aecb (patch)
treec2958d27e9baeef55b3c52f7e9e7f229f90562ba /libcpp/macro.c
parent1021b0e570cd0a324d15d117eaaa5dd60e4848f0 (diff)
downloadgcc-7b14477e384de8841d377e3c3254f9f3bcc9aecb.zip
gcc-7b14477e384de8841d377e3c3254f9f3bcc9aecb.tar.gz
gcc-7b14477e384de8841d377e3c3254f9f3bcc9aecb.tar.bz2
Fix PR44483: incrementally gimplify BB predicates to avoid redundant computations.
2010-06-11 Sebastian Pop <sebastian.pop@amd.com> PR middle-end/44483 * tree-if-conv.c (bb_predicate_s): New struct. (bb_predicate_p): New. (bb_has_predicate): New. (bb_predicate): New. (set_bb_predicate): New. (bb_predicate_gimplified_stmts): New. (set_bb_predicate_gimplified_stmts): New. (add_bb_predicate_gimplified_stmts): New. (init_bb_predicate): New. (free_bb_predicate): New. (is_predicated): Use bb_predicate. (add_to_predicate_list): Use bb_predicate and set_bb_predicate. (predicate_bbs): Same. Gimplify the condition of the basic blocks before processing their successors. (clean_predicate_lists): Removed. (find_phi_replacement_condition): Use bb_predicate. (process_phi_nodes): Renamed ifconvert_phi_nodes. Avoid useless computations. (insert_gimplified_predicates): New. (combine_blocks): Call insert_gimplified_predicates. (tree_if_conversion): Call free_bb_predicate instead of clean_predicate_lists. * gcc.dg/tree-ssa/pr44483.c: New. From-SVN: r160625
Diffstat (limited to 'libcpp/macro.c')
0 files changed, 0 insertions, 0 deletions