Re: [GSoC] generation of Gimple code from isl_ast_node_block

2014-07-22 Thread Roman Gareev
It seems that the problem is solved now. Thank you! I've sent corresponding patches to gcc-patches. -- Cheers, Roman Gareev.

Re: [GSoC] generation of Gimple code from isl_ast_node_block

2014-07-21 Thread Tobias Grosser
On 21/07/2014 14:55, Roman Gareev wrote: It seems S_6 is now scheduled before S_4 which is surprising, as dependences from S_4 to S_6 should prevent us from generating a schedule that yields such a result. What is the schedule that you give to the isl ast generator? The schedule generated by th

Re: [GSoC] generation of Gimple code from isl_ast_node_block

2014-07-21 Thread Roman Gareev
> It seems S_6 is now scheduled before S_4 which is surprising, as > dependences from S_4 to S_6 should prevent us from generating a schedule > that yields such a result. What is the schedule that you give to the isl ast > generator? The schedule generated by the code, which uses variable k (It ex

Re: [GSoC] generation of Gimple code from isl_ast_node_block

2014-07-21 Thread Tobias Grosser
On 21/07/2014 14:23, Roman Gareev wrote: I've attached the patch, which contains generation of Gimple code from isl_ast_node_block. However, I've found out a problem. The following example: int k = 50; static int __attribute__((noinline)) foo () { int i, res; for (i = 0, res = 0; i < k; i

[GSoC] generation of Gimple code from isl_ast_node_block

2014-07-21 Thread Roman Gareev
I've attached the patch, which contains generation of Gimple code from isl_ast_node_block. However, I've found out a problem. The following example: int k = 50; static int __attribute__((noinline)) foo () { int i, res; for (i = 0, res = 0; i < k; i++) res += i; return res; } extern vo