2006-02-06 Daniel Berlin <dberlin@dberlin.org>
* tree-ssa-pre.c (bb_value_sets_t): Add antic_safe_loads. (ANTIC_SAFE_LOADS): New macro. (find_or_generate_expression): Add prototype. (set_contains_value): Allow null set for sake of not always having to allocate ANTIC_SAFE_LOADS. (phi_translate): Move placement of AGGREGATE_TYPE_P check. Allow COMPONENT_REF too. (valid_in_set): Allow COMPONENT_REF. Check ANTIC_SAFE_LOADS too. (compute_antic_aux): Print out ANTIC_SAFE_LOADS. (compute_rvuse_and_antic_safe): Add ANTIC_SAFE computation, and rename. (can_PRE_operation): Add COMPONENT_REF. (create_component_ref_by_pieces): New function. (create_expression_by_pieces): Use create_component_ref_by_pieces. (insert_aux): Move AGGREGATE_TYPE_P check here. (compute_avail): Set bb local stmt uids. (pass_pre): Use TODO_update_ssa_only_virtuals. 2006-02-06 Daniel Berlin <dberlin@dberlin.org> * gcc.dg/tree-ssa/loadpre10.c: New test. * gcc.dg/tree-ssa/loadpre11.c: Ditto. * gcc.dg/tree-ssa/loadpre6.c: Expect one more elimination. * gcc.dg/tree-ssa/loadpre4.c: This should pass now. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110644 138bc75d-0d04-0410-961f-82ee72b054a4
Showing
- gcc/ChangeLog 21 additions, 0 deletionsgcc/ChangeLog
- gcc/testsuite/ChangeLog 7 additions, 0 deletionsgcc/testsuite/ChangeLog
- gcc/testsuite/gcc.dg/tree-ssa/loadpre10.c 49 additions, 0 deletionsgcc/testsuite/gcc.dg/tree-ssa/loadpre10.c
- gcc/testsuite/gcc.dg/tree-ssa/loadpre11.c 14 additions, 0 deletionsgcc/testsuite/gcc.dg/tree-ssa/loadpre11.c
- gcc/testsuite/gcc.dg/tree-ssa/loadpre4.c 1 addition, 3 deletionsgcc/testsuite/gcc.dg/tree-ssa/loadpre4.c
- gcc/testsuite/gcc.dg/tree-ssa/loadpre6.c 3 additions, 1 deletiongcc/testsuite/gcc.dg/tree-ssa/loadpre6.c
- gcc/tree-ssa-pre.c 201 additions, 28 deletionsgcc/tree-ssa-pre.c
Loading
Please register or sign in to comment