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 <https://llvm.org/docs/Passes.html> but it is not there. Please let me know where to find information about passes emitted in the optimization report. Regards, Pradeep -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20190727/f9c8061e/attachment.html>
Francis Visoiu Mistrih via llvm-dev
2019-Jul-29 20:07 UTC
[llvm-dev] Help on Optimization Remarks
> 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
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? 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 > <https://llvm.org/docs/Passes.html> but it is not there. Please let me > know where to find information about passes emitted in the optimization > report. > > Regards, > Pradeep >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20190729/e23ad234/attachment.html>