Dear Stefanos,
I want to know whether after loop optimization, llvm indicates which loop
is optimized and what all optimizations have been applied successfully to
the individual loop which is optimized. Suppose, the loop L1 is optimized
and the optimizations t1, t2, t3 have been attempted and are actually
applied also. Again, the loop L2 is optimized and the optimizations t1,
t2, t3 have been attempted and only t1 is finally applied. Does LLVM
output the following ?
Loop L1 : optimizations t1, t2, t3
Loop L2 : optimization t1
Thanks,
Sudakshina
On Fri, Jan 29, 2021 at 10:13 PM Michael Kruse <llvmdev at meinersbur.de>
wrote:
> Am Fr., 29. Jan. 2021 um 06:18 Uhr schrieb Sudakshina Dutta via
> llvm-dev <llvm-dev at lists.llvm.org>:
> > Thanks for all your reply. I have one simple question to ask. I am new
> to llvm. I know that the loop to be optimized has to be enclosed between
> #pragma scop and #pragma endoscop.
>
> #pragma scop/endscop are used by polyhedral source-to-source
> optimizers such as ppcg[1] and OpenScop[2]. LLVM's polyhedral
> optimizer Polly does not use them.
>
> Polly has several report options available, such as
> `-Rpass-analysis=polly-scops`, `-mllvm -polly-report`, `-mllvm
> -polly-show`.
>
> [1] https://repo.or.cz/ppcg.git
> [2] http://icps.u-strasbg.fr/~bastoul/development/openscop/index.html
>
> Michael
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.llvm.org/pipermail/llvm-dev/attachments/20210129/10d0d46f/attachment.html>