re PR tree-optimization/26629 (tree load PRE does not work on array references)
2006-03-20 Andrew Pinski <pinskia@physics.uc.edu>
PR tree-opt/26629
* tree-ssa-pre (phi_translate): Handle ARRAY_REF's operands.
(valid_in_set): Handle ARRAY_REF.
Change "if min_variant or VH" to asserts.
(create_component_ref_by_pieces): Handle ARRAY_REF.
(create_expression_by_pieces): Likewise.
(can_PRE_operation): ARRAY_REFs can now be PRE'd.
2006-03-20 Andrew Pinski <pinskia@physics.uc.edu>
PR tree-opt/26629
* gcc.dg/tree-ssa/loadpre12.c: New test.
* gcc.dg/tree-ssa/loadpre13.c: New test.
* gcc.dg/tree-ssa/loadpre14.c: New test.
* gcc.dg/tree-ssa/loadpre15.c: New test.
* gcc.dg/tree-ssa/loadpre16.c: New test.
* gcc.dg/tree-ssa/loadpre17.c: New test.
* gcc.dg/tree-ssa/loadpre18.c: New test.
* gcc.dg/tree-ssa/loadpre19.c: New test.
* gcc.dg/tree-ssa/loadpre20.c: New test.
* gcc.dg/tree-ssa/loadpre21.c: New test.
* gcc.dg/tree-ssa/loadpre22.c: New test.
From-SVN: r112227
Showing
gcc/testsuite/gcc.dg/tree-ssa/loadpre12.c
0 → 100644
gcc/testsuite/gcc.dg/tree-ssa/loadpre13.c
0 → 100644
gcc/testsuite/gcc.dg/tree-ssa/loadpre14.c
0 → 100644
gcc/testsuite/gcc.dg/tree-ssa/loadpre15.c
0 → 100644
gcc/testsuite/gcc.dg/tree-ssa/loadpre16.c
0 → 100644
gcc/testsuite/gcc.dg/tree-ssa/loadpre17.c
0 → 100644
gcc/testsuite/gcc.dg/tree-ssa/loadpre18.c
0 → 100644
gcc/testsuite/gcc.dg/tree-ssa/loadpre19.c
0 → 100644
gcc/testsuite/gcc.dg/tree-ssa/loadpre20.c
0 → 100644
gcc/testsuite/gcc.dg/tree-ssa/loadpre21.c
0 → 100644
gcc/testsuite/gcc.dg/tree-ssa/loadpre22.c
0 → 100644
Please
register
or
sign in
to comment