mark scops in the source code

21 views
Skip to first unread message

Elouan Jeannot

unread,
Oct 18, 2021, 5:17:36 AM10/18/21
to Polly Development
Hello,
Is someone know if I can mark scops in the source code ?
For example with some "#pragma scop" around scops or other kind like that.
It's for verify if Polly have the same result before and after some changes.
Thanks

Johannes Doerfert

unread,
Oct 18, 2021, 10:10:17 AM10/18/21
to Elouan Jeannot, Polly Development
Hi Elouan,

Polly does not generate source code (C/C++) but only LLVM-IR.
You can ask for the "Polly AST" and dump it but other than that
there is no place for "pragmas". That said, you can look at the
LLVM-IR if you want, and one could place markers there too, I
don't think Polly does right now.

~ JOhannes

Elouan Jeannot

unread,
Oct 20, 2021, 3:19:08 AM10/20/21
to Polly Development
Hello,
Thanks for your answer, I will see what can I do with your information.
Thanks

Reply all
Reply to author
Forward
0 new messages