[llvm-dev] Help on Optimization Remarks

Francis Visoiu Mistrih via llvm-dev llvm-dev at lists.llvm.org
Mon Jul 29 13:07:18 PDT 2019



> On Jul 29, 2019, at 2:40 PM, Pradeep Kumar via llvm-dev <llvm-dev at lists.llvm.org> wrote:
> 
> Dear Vivek,
>     Sorry, I couldn't reply to the same thread. I want to know which existing passes emit optimization remarks. Here passes refer to the Analysis and Transformation passes listed in llvm.org/docs/Passes.html. Also where can I find  more information on the internals of optimization remarks infrastructure?

Unfortunately, we don’t have documentation on which passes emit remarks. I recently added some documentation on remarks here: https://llvm.org/docs/Remarks.html.

If you check out llvm/docs/Remarks.rst there are a few things missing that I mention at the end of the file.

> 
> Regards,
> Pradeep
> 
> On Fri, Jul 26, 2019 at 10:06 PM Pradeep Kumar <pradeepisro49 at gmail.com> wrote:
> Dear llvm-dev community,
>    I am trying to analyze the optimization remarks generated through clang using -fsave-optimization-remark with -O3.
> 
> --- !Analysis
> Pass:            loop-vectorize
> Name:            CFGNotUnderstood
> DebugLoc:        { File: c-ray-mt.c, Line: 177, Column: 2 }
> Function:        main
> Args:            
>   - String:          'loop not vectorized: '
>   - String:          loop control flow is not understood by vectorizer
> 
> 
> I tried to look for information about "loop vectorize pass" and other emitted pass in the official llvm passes documentaiton here but it is not there. Please let me know where to find information about passes emitted in the optimization report.
> 
> Regards,
> Pradeep
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev



More information about the llvm-dev mailing list