<div dir="ltr"><div dir="ltr"><br></div><div>Hi Pradeep,</div><div>Try grep on "loop-vectorize"</div><div>These are macro defined with name DEBUG_TYPE in LLVM code base.</div><div>In this particular case it leads to LoopVectorize.cpp<br></div><div>
-Vivek
</div><div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
Message: 1<br>
Date: Sat, 27 Jul 2019 10:36:48 +0530<br>
From: Pradeep Kumar via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a>><br>
To: <a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a><br>
Subject: [llvm-dev] Help on Optimization Remarks<br>
Message-ID:<br>
<<a href="mailto:CABLQKoV2CjYL384bByvoOOz5vbZo52G0iZuXsrpGxaggTLcMuA@mail.gmail.com" target="_blank">CABLQKoV2CjYL384bByvoOOz5vbZo52G0iZuXsrpGxaggTLcMuA@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Dear llvm-dev community,<br>
I am trying to analyze the optimization remarks generated through clang<br>
using -fsave-optimization-remark with -O3.<br>
<br>
--- !Analysis<br>
Pass: loop-vectorize<br>
Name: CFGNotUnderstood<br>
DebugLoc: { File: c-ray-mt.c, Line: 177, Column: 2 }<br>
Function: main<br>
Args:<br>
- String: 'loop not vectorized: '<br>
- String: loop control flow is not understood by vectorizer<br>
<br>
<br>
I tried to look for information about "loop vectorize pass" and other<br>
emitted pass in the official llvm passes documentaiton here<br>
<<a href="https://llvm.org/docs/Passes.html" rel="noreferrer" target="_blank">https://llvm.org/docs/Passes.html</a>> but it is not there. Please let me know<br>
where to find information about passes emitted in the optimization report.<br>
<br>
Regards,<br>
Pradeep<br><br>
</blockquote></div></div></div>