[Bug c/38446] New: [graphite] The def for a var exists inside one of the scops bb's but an appropriate phi is not created to allow the phi to reach the use of that def ouside the scop.

2008-12-08 Thread hjagasia at gcc dot gnu dot org
mponent: c AssignedTo: hjagasia at gcc dot gnu dot org ReportedBy: hjagasia at gcc dot gnu dot org GCC build triplet: x86_64-unknown-linux-gnu GCC host triplet: x86_64-unknown-linux-gnu GCC target triplet: x86_64-unknown-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38446

[Bug c/38446] [graphite] The def for a var exists inside one of the scops bb's but an appropriate phi is not created to allow the phi to reach the use of that def ouside the scop.

2008-12-08 Thread hjagasia at gcc dot gnu dot org
--- Comment #1 from hjagasia at gcc dot gnu dot org 2008-12-08 17:26 --- Created an attachment (id=16852) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16852&action=view) Reduced test case for bug -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38446

[Bug middle-end/38446] [graphite] The def for a var exists inside one of the scops bb's but an appropriate phi is not created to allow the phi to reach the use of that def ouside the scop.

2008-12-10 Thread hjagasia at gcc dot gnu dot org
--- Comment #2 from hjagasia at gcc dot gnu dot org 2008-12-10 21:09 --- Created an attachment (id=16877) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16877&action=view) This patch fixes PR38446 by explicitly checking if bb belongs to sese region by looking at all bbs

[Bug middle-end/38446] [graphite] The def for a var exists inside one of the scops bb's but an appropriate phi is not created to allow the phi to reach the use of that def ouside the scop.

2008-12-10 Thread hjagasia at gcc dot gnu dot org
--- Comment #3 from hjagasia at gcc dot gnu dot org 2008-12-10 22:34 --- Created an attachment (id=16880) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16880&action=view) Updated patch reviewed by Sebastian -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38446

[Bug middle-end/38446] [graphite] The def for a var exists inside one of the scops bb's but an appropriate phi is not created to allow the phi to reach the use of that def ouside the scop.

2008-12-11 Thread hjagasia at gcc dot gnu dot org
--- Comment #5 from hjagasia at gcc dot gnu dot org 2008-12-11 17:27 --- Subject: Bug 38446 Author: hjagasia Date: Thu Dec 11 17:26:28 2008 New Revision: 142685 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=142685 Log: 2008-12-11 Harsha Jagasia

[Bug middle-end/38500] [graphite] ICE : in verify_loop_structure, at cfgloop.c:1569

2008-12-12 Thread hjagasia at gcc dot gnu dot org
--- Comment #2 from hjagasia at gcc dot gnu dot org 2008-12-12 22:27 --- Created an attachment (id=16898) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16898&action=view) Proposed Patch 2008-12-12 Jan Sjodin Harsha Jagasia PR tree-optimizatio

[Bug middle-end/38500] [graphite] ICE : in verify_loop_structure, at cfgloop.c:1569

2008-12-12 Thread hjagasia at gcc dot gnu dot org
--- Comment #4 from hjagasia at gcc dot gnu dot org 2008-12-12 23:01 --- Created an attachment (id=16900) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16900&action=view) Forgot to add testcase to patch, updating patch -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38500

[Bug middle-end/38500] [graphite] ICE : in verify_loop_structure, at cfgloop.c:1569

2008-12-12 Thread hjagasia at gcc dot gnu dot org
--- Comment #5 from hjagasia at gcc dot gnu dot org 2008-12-12 23:06 --- Subject: Bug 38500 Author: hjagasia Date: Fri Dec 12 23:05:09 2008 New Revision: 142728 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=142728 Log: 2008-12-12 Jan Sjodin Harsha

[Bug middle-end/38510] Matrix.c from pymol 1.1r2 fails to compile with -O2 -fgraphite

2008-12-18 Thread hjagasia at gcc dot gnu dot org
--- Comment #3 from hjagasia at gcc dot gnu dot org 2008-12-19 05:31 --- Created an attachment (id=16942) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16942&action=view) Proposed patch 2008-12-18 Harsha Jagasia PR tree-optimization/38510 * gcc.dg/g

[Bug middle-end/38510] Matrix.c from pymol 1.1r2 fails to compile with -O2 -fgraphite

2008-12-19 Thread hjagasia at gcc dot gnu dot org
--- Comment #4 from hjagasia at gcc dot gnu dot org 2008-12-19 18:20 --- Created an attachment (id=16946) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16946&action=view) Fixed changes suggested by Sebastian Pop. 2008-12-19 Harsha Jagasia PR tree-optimizatio

[Bug middle-end/38510] Matrix.c from pymol 1.1r2 fails to compile with -O2 -fgraphite

2008-12-22 Thread hjagasia at gcc dot gnu dot org
--- Comment #7 from hjagasia at gcc dot gnu dot org 2008-12-22 19:26 --- Subject: Bug 38510 Author: hjagasia Date: Mon Dec 22 19:24:59 2008 New Revision: 142888 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=142888 Log: 2008-12-22 Harsha Jagasia

[Bug middle-end/38559] [graphite] ICE :in build2_stat, at tree.c:3293

2008-12-22 Thread hjagasia at gcc dot gnu dot org
--- Comment #2 from hjagasia at gcc dot gnu dot org 2008-12-22 19:41 --- For the clast_stmt below: if (midend_8 >= mid_10+1) { for (s_3=0;s_3<=min(midend_8-mid_10-1,63);s_3++) { S5(0,s_3) ; } } graphite gets into translate_clast:stmt_guard->graphite_create_

[Bug middle-end/37485] [graphite] Disconnecting exit edge in process of code generation

2008-09-12 Thread hjagasia at gcc dot gnu dot org
-- hjagasia at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |hjagasia at gcc dot gnu dot |dot org

[Bug middle-end/37485] [graphite] Disconnecting exit edge in process of code generation

2008-09-12 Thread hjagasia at gcc dot gnu dot org
--- Comment #3 from hjagasia at gcc dot gnu dot org 2008-09-12 15:44 --- Jan and I have a bug fix for this, which will be posted in some time. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37485

[Bug middle-end/37485] [graphite] Disconnecting exit edge in process of code generation

2008-09-12 Thread hjagasia at gcc dot gnu dot org
--- Comment #4 from hjagasia at gcc dot gnu dot org 2008-09-12 16:52 --- The reduced test case block-2.c triggers 3 seperate bugs. First: In tranlate_clast when clast stmt is a stmt_user, we can end up disconnecting the edge that is the exit_edge of the scop that is transformed. This

[Bug middle-end/37485] [graphite] Disconnecting exit edge in process of code generation

2008-09-12 Thread hjagasia at gcc dot gnu dot org
--- Comment #5 from hjagasia at gcc dot gnu dot org 2008-09-12 16:54 --- Created an attachment (id=16304) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16304&action=view) This patch fixes all three problems in the reduced test case block-2.c -- http://gcc.gnu.org/b

[Bug middle-end/37485] [graphite] Disconnecting exit edge in process of code generation

2008-09-12 Thread hjagasia at gcc dot gnu dot org
--- Comment #6 from hjagasia at gcc dot gnu dot org 2008-09-12 16:59 --- 2008-09-05 Jan Sjodin <[EMAIL PROTECTED]> Harsha Jagasia <[EMAIL PROTECTED]> * graphite.c (gmp_cst_to_tree): Moved. (iv_stack_entry_is_constant): New. (iv_stack

[Bug c/37684] New: [graphite] basic block containing VDEF of a scalar does not dominate basic block containing VUSE of the same scalar

2008-09-30 Thread hjagasia at gcc dot gnu dot org
containing VDEF of a scalar does not dominate basic block containing VUSE of the same scalar Product: gcc Version: 4.4.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: hjaga

[Bug c/37684] [graphite] basic block containing VDEF of a scalar does not dominate basic block containing VUSE of the same scalar

2008-09-30 Thread hjagasia at gcc dot gnu dot org
--- Comment #1 from hjagasia at gcc dot gnu dot org 2008-09-30 16:34 --- Created an attachment (id=16434) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16434&action=view) Reduced test case derived from CPU2006 401.bzip2 benchmark -- http://gcc.gnu.org/bugzilla/show_

[Bug tree-optimization/37684] [graphite] basic block containing VDEF of a scalar does not dominate basic block containing VUSE of the same scalar

2008-09-30 Thread hjagasia 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 do