This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[graphite] Fix ICE in perlbmk
- From: Sebastian Pop <sebpop at gmail dot com>
- To: GCC Patches <gcc-patches at gcc dot gnu dot org>, Richard Guenther <rguenther at suse dot de>
- Date: Fri, 23 Jan 2009 12:03:38 -0600
- Subject: [graphite] Fix ICE in perlbmk
Hi,
This is a graphite branch patch only, as there is not equivalent part
in trunk yet for scalar cleanups. This patch disables copy_prop
after graphite as pass_copy_prop does not maintain loop closed SSA
form: the ICE happens in pass_lim that expects to see the code in
loop closed ssa form. Committed to the graphite branch.
Sebastian Pop
--
AMD - GNU Tools
2009-01-23 Sebastian Pop <sebastian.pop@amd.com>
* passes.c (init_optimization_passes): Do not call pass_copy_prop
after graphite: pass_copy_prop does not maintain a proper loop closed
SSA form. pass_copy_prop should be fixed.
Index: passes.c
===================================================================
--- passes.c (revision 143347)
+++ passes.c (working copy)
@@ -659,7 +659,6 @@ init_optimization_passes (void)
NEXT_PASS (pass_graphite_transforms);
{
struct opt_pass **p = &pass_graphite_transforms.pass.sub;
- NEXT_PASS (pass_copy_prop);
NEXT_PASS (pass_dce_loop);
NEXT_PASS (pass_lim);
}