Re: [GSoC] A bug related to induction variables and blocks

2014-07-24 Thread Roman Gareev
Is there a reason you have those global values? To my understanding they could possibly just be function parameters? Yes, it would be fine for this test case. I've implemented this in the improved version. -- Cheers, Roman Gareev. 2014-07-23 Roman Gareev

Re: [GSoC] A bug related to induction variables and blocks

2014-07-24 Thread Tobias Grosser
On 24/07/2014 12:09, Roman Gareev wrote: Is there a reason you have those global values? To my understanding they could possibly just be function parameters? Yes, it would be fine for this test case. I've implemented this in the improved version. LGTM. Tobias

[GSoC] A bug related to induction variables and blocks

2014-07-23 Thread Roman Gareev
If we try to generate code from the following ISL AST: { for (int c1 = 0; c1 k.3; c1 += 1) { S_21(c1); S_21(c1); S_4(c1); for (int c3 = 0; c3 pretmp; c3 += 1) S_5(c1, c3); S_7(c1); S_26(c1); S_8(c1); S_8(c1); S_9(c1); for (int c3 = 0; c3 pretmp;

Re: [GSoC] A bug related to induction variables and blocks

2014-07-23 Thread Tobias Grosser
On 23/07/2014 16:55, Roman Gareev wrote: If we try to generate code from the following ISL AST: { for (int c1 = 0; c1 k.3; c1 += 1) { S_21(c1); S_21(c1); S_4(c1); for (int c3 = 0; c3 pretmp; c3 += 1) S_5(c1, c3); S_7(c1); S_26(c1); S_8(c1);