This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [GSoC] generation of Gimple code from isl_ast_node_if
- From: Roman Gareev <gareevroman at gmail dot com>
- To: Tobias Grosser <tobias at grosser dot es>
- Cc: Mircea Namolaru <mircea dot namolaru at inria dot fr>, gcc-patches at gcc dot gnu dot org
- Date: Sat, 26 Jul 2014 18:59:51 +0600
- Subject: Re: [GSoC] generation of Gimple code from isl_ast_node_if
- Authentication-results: sourceware.org; auth=none
- References: <CABGF_gfK8dqg1WnWODOf0TjmDGpk4_609oKiiBhSq5giE=c-kw at mail dot gmail dot com> <53D37432 dot 3000107 at grosser dot es> <CABGF_gdGO-65VK1N_efnx1PG7XZkAfDRw15F7oQhXPPC8_S86w at mail dot gmail dot com> <53D39A4A dot 2000707 at grosser dot es>
I've tried to compile your example and had the similar problem. It
generates the following ISL AST
{
for (int c1 = 0; c1 <= 49; c1 += 1) {
S_6(c1);
if (c1 <= 48) {
S_3(c1);
S_9(c1);
if (c1 >= 24)
S_4(c1);
S_5(c1);
}
}
S_7();
}
where S_9 has pbb->domain and pbb->transformed of S_3. A pointer to a
Gimple basic block is not NULL now, but it leads to the wrong answer.
I've tried different examples, which generate ISL AST, but they have
same problems. Could you please advise me another one?
--
Cheers, Roman Gareev.