This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/37684] [graphite] basic block containing VDEF of a scalar does not dominate basic block containing VUSE of the same scalar
- From: "hjagasia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Sep 2008 16:40:07 -0000
- Subject: [Bug tree-optimization/37684] [graphite] basic block containing VDEF of a scalar does not dominate basic block containing VUSE of the same scalar
- References: <bug-37684-12919@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from hjagasia at gcc dot gnu dot org 2008-09-30 16:40 -------
Created an attachment (id=16435)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16435&action=view)
This patch fixes the reduced test case block-3.c
Until graphite can handle scalars and also update dominance properly (planned
for gcc 4.5), this patch will work by limiting the scop that contains bb 3,
which in turn contains the VDEFs for SMT.48_20, SMT.49_21, such that no code is
generated for it.
This patch depends on the patch submitted for 37485.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37684