Fix PR45948: add ssa defs from builtin partitions to the last partition.
2010-12-14 Sebastian Pop <sebastian.pop@amd.com>
PR tree-optimization/45948
* tree-loop-distribution.c (ssa_name_has_uses_outside_loop_p): New.
(stmt_has_scalar_dependences_outside_loop): New.
(stmt_generated_in_another_partition): New.
(add_scalar_computations_to_partition): New.
(rdg_build_partitions): Call add_scalar_computations_to_partition.
* gcc.dg/tree-ssa/ldist-pr45948.c: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@167842
138bc75d-0d04-0410-961f-
82ee72b054a4