<div dir="ltr">Hi All,<div>I'm trying to understand BB Vectorizer and gone through </div><div><a href="http://llvm.org/devmtg/2012-04-12/Slides/Hal_Finkel.pdf">http://llvm.org/devmtg/2012-04-12/Slides/Hal_Finkel.pdf</a></div>
<div><br></div><div>Wanted to know how to use <span style="color:rgb(0,0,0);white-space:pre-wrap">bb-vectorize-debug-candidate-selection and </span><span style="color:rgb(0,0,0);white-space:pre-wrap">bb-vectorize-debug-pair-selection command arguments.</span></div>
<div><span style="color:rgb(0,0,0);white-space:pre-wrap"><br></span></div><div><span style="color:rgb(0,0,0);white-space:pre-wrap">I tried the command with debug build clang -</span></div><div><pre class="" id="comment_text_0" style="white-space:pre-wrap;width:50em;color:rgb(0,0,0)">
clang -O2 test.c -mllvm -vectorize \
-mllvm -debug-only=bb-vectorize \
-mllvm -bb-vectorize-debug-pair-selection \
-mllvm -bb-vectorize-debug-candidate-selection</pre><pre class="" id="comment_text_0" style="white-space:pre-wrap;width:50em;color:rgb(0,0,0)"><span style="font-family:arial">as mentioned in <a href="http://llvm.org/bugs/show_bug.cgi?id=11973">http://llvm.org/bugs/show_bug.cgi?id=11973</a> but it doesnt seem to dump the candidate pair info as shown in bug id.</span><br>
</pre><pre class="" id="comment_text_0" style="white-space:pre-wrap;width:50em;color:rgb(0,0,0)"><span style="font-family:arial"><br></span></pre><pre class="" id="comment_text_0" style="white-space:pre-wrap;width:50em;color:rgb(0,0,0)">
<span style="font-family:arial">Could someone help me out here with the command line argument to get </span><span style="font-family:arial">candidate pair selected info.</span><br></pre><pre class="" id="comment_text_0" style="white-space:pre-wrap;width:50em;color:rgb(0,0,0)">
<span style="font-family:arial">Thanks for the help!</span></pre><pre class="" id="comment_text_0" style="white-space:pre-wrap;width:50em;color:rgb(0,0,0)"><span style="font-family:arial">Regards</span></pre><pre class="" id="comment_text_0" style="white-space:pre-wrap;width:50em;color:rgb(0,0,0)">
<span style="font-family:arial">Karthik Bhat</span></pre></div></div>