diff options
author | Andrew Pinski <pinskia@physics.uc.edu> | 2006-03-20 21:00:18 +0000 |
---|---|---|
committer | Andrew Pinski <pinskia@gcc.gnu.org> | 2006-03-20 13:00:18 -0800 |
commit | e13f1c1432140a43edd23a50c3916fa41fadd610 (patch) | |
tree | 62891f428e807856aeb41bc768c8ca8e04b03e7f /gcc/function.c | |
parent | 7a22dbec36019060c01d68ea8703e2a11d4d2247 (diff) | |
download | gcc-e13f1c1432140a43edd23a50c3916fa41fadd610.zip gcc-e13f1c1432140a43edd23a50c3916fa41fadd610.tar.gz gcc-e13f1c1432140a43edd23a50c3916fa41fadd610.tar.bz2 |
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
Diffstat (limited to 'gcc/function.c')
0 files changed, 0 insertions, 0 deletions