-
- Downloads
tree-ssa-dom.c (simplify_rhs_and_lookup_avail_expr): No longer simplify DIV,...
tree-ssa-dom.c (simplify_rhs_and_lookup_avail_expr): No longer simplify DIV, MOD or ABS expressions using VRP information. * tree-ssa-dom.c (simplify_rhs_and_lookup_avail_expr): No longer simplify DIV, MOD or ABS expressions using VRP information. Remove WALK_DATA parameter. Prototype and all callers updated. (eliminate_redundant_computations): Remove WALK_DATA parameter. Prototype and all callers updated. (optimize_stmt): WALK_DATA parameter is now unused. * tree-vrp.c (local_fold): New function. Like fold, but strips useless type conversions in the result. (simplify_using_ranges): New function, largely cribbed from tree-ssa-dom.c::simplify_rhs_and_lookup_avail_expr. (vrp_finalize): Call simplify_using_ranges. * gcc.dg/tree-ssa/20030807-10.c: VRP is now expected to perform the desired transformations. * gcc.dg/tree-ssa/20030806-6.c: Similarly. * gcc.dg/tree-ssa/20040514-2.c: Similarly. From-SVN: r100909
Showing
- gcc/ChangeLog 15 additions, 0 deletionsgcc/ChangeLog
- gcc/testsuite/ChangeLog 7 additions, 0 deletionsgcc/testsuite/ChangeLog
- gcc/testsuite/gcc.dg/tree-ssa/20030807-10.c 4 additions, 4 deletionsgcc/testsuite/gcc.dg/tree-ssa/20030807-10.c
- gcc/testsuite/gcc.dg/tree-ssa/20030807-6.c 7 additions, 7 deletionsgcc/testsuite/gcc.dg/tree-ssa/20030807-6.c
- gcc/testsuite/gcc.dg/tree-ssa/20040514-2.c 3 additions, 4 deletionsgcc/testsuite/gcc.dg/tree-ssa/20040514-2.c
- gcc/tree-ssa-dom.c 8 additions, 133 deletionsgcc/tree-ssa-dom.c
- gcc/tree-vrp.c 139 additions, 0 deletionsgcc/tree-vrp.c
Loading
Please register or sign in to comment