diff options
| author | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-01-28 14:45:46 +0000 |
|---|---|---|
| committer | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-01-28 14:45:46 +0000 |
| commit | ac7a10077c213e9200ed73f968de607159f2d2c5 (patch) | |
| tree | c734aa313961c4f7ad6438ad86a0d1f80b7c005d /libjava/classpath/gnu/java | |
| parent | 0190fe95747d19aff81809330c3dac92a8a0b7c7 (diff) | |
| download | ppe42-gcc-ac7a10077c213e9200ed73f968de607159f2d2c5.tar.gz ppe42-gcc-ac7a10077c213e9200ed73f968de607159f2d2c5.zip | |
2013-01-28 Richard Biener <rguenther@suse.de>
PR tree-optimization/56034
* tree-loop-distribution.c (enum partition_kind): Add
PKIND_REDUCTION.
(partition_builtin_p): Adjust.
(generate_code_for_partition): Handle PKIND_REDUCTION. Assert
it is the last partition.
(rdg_flag_uses): Check SSA_NAME_IS_DEFAULT_DEF before looking
up the vertex for the definition.
(classify_partition): Classify whether a partition is a
PKIND_REDUCTION, thus has uses outside of the loop.
(ldist_gen): Inherit PKIND_REDUCTION when merging partitions.
Merge all PKIND_REDUCTION partitions into the last partition.
(tree_loop_distribution): Seed partitions from reductions as well.
* gcc.dg/torture/pr56034.c: New testcase.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@195508 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/classpath/gnu/java')
0 files changed, 0 insertions, 0 deletions

