On 24/07/2014 12:09, Roman Gareev wrote:
I've attached the patch, which contains generation of Gimple code from
isl_ast_node_if.

Nice.

However, I've found out a problem. When I'm trying to generate Gimple
code from, for example, the following ISL AST:

{
   for (int c1 = 0; c1 <= 49; c1 += 1) {
     S_6(c1);
     if (c1 <= 48) {
       S_3(c1);
       if (c1 >= 24)
         S_4(c1);
       S_5(c1);
     }
   }
   S_7();
}

the pointer to Gimple basic block of S_3's poly basic block is NULL.

Could you please advise me possible reasons of this issue?

I have no idea. Is the Gimple basic block of S_3 never set, or is it set and deleted on the way? What code does S_3 correspond to?

The code itself looks good. Let's get back to this after we understood this bug.

Cheers,
Tobias

Reply via email to