[llvm-dev] Help on Optimization Remarks

vivek pandya via llvm-dev llvm-dev at lists.llvm.org
Sat Jul 27 22:09:49 PDT 2019


Hi Pradeep,
Try grep on "loop-vectorize"
These are macro defined with name DEBUG_TYPE in LLVM code base.
In this particular case it leads to LoopVectorize.cpp
-Vivek

>
> Message: 1
> Date: Sat, 27 Jul 2019 10:36:48 +0530
> From: Pradeep Kumar via llvm-dev <llvm-dev at lists.llvm.org>
> To: llvm-dev at lists.llvm.org
> Subject: [llvm-dev] Help on Optimization Remarks
> Message-ID:
>         <
> CABLQKoV2CjYL384bByvoOOz5vbZo52G0iZuXsrpGxaggTLcMuA at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> 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/20190728/cf691070/attachment.html>


More information about the llvm-dev mailing list