Hi Dmitry,
On Thu, Sep 6, 2012 at 5:56 AM, Dmitry N. Mikushin <
maem...@gmail.com> wrote:
> Dear Ether,
>
> Thank you for supportive comment, I can see now this problem is of
> major interest! Do you already have a detailed plan of this
> functionality? I'm abridging our small devel group, let's discuss it
> all together. We will be able to work more actively in 2 weeks (next
> week there are two project talks scheduled, need to prepare).
I afraid I do not have a detailed plan for this. I am going to pick up
my last codegen related patch first after this week I finished my
personal issue.
In order to allow subfunction in a SCoP, we can treat the subfunction
as a single SCoP statement at the first step, which means Polly is not
going to change the code in the subfunction, otherwise the SCoP
becomes "Interprocedural".
Handling an interprocedural SCoP may out of Polly's capability right
now, because Polly is heavily depends on the ScalarEvoluation pass,
which is not interprocedural.
Another possible solution is, inline all subfunction before Polly run,
and then extract the inlined code back to a Function after Polly.
>
> The version of polly we use is slightly customized r157485. TempSCoP
> there is only mentioned in one comment. I'm guessing it was introduced
Sorry for not making myself clean. I means the TempScopInfo pass,
which is located in the lib/Analysis/TempScopInfo.cpp.
This pass perform some early analysis for building a SCoP.
> in newer versions?
>
> Best,
> - D.
>
best regards
ether