<div dir="ltr"><div dir="ltr">This was because CVP didn't preserve LVI.<div><br></div><div>I made a patch that deals with this - <a href="https://reviews.llvm.org/D59349">https://reviews.llvm.org/D59349</a></div><div><br></div><div>Juneyoung Lee</div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Mar 12, 2019 at 3:16 AM Juneyoung Lee <<a href="mailto:juneyoung.lee@sf.snu.ac.kr">juneyoung.lee@sf.snu.ac.kr</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hello all, I just read mails.<div><br></div><div>> <a href="https://github.com/regehr/llvm-transformation-pass/blob/master/hello/hello.cpp" rel="noreferrer" target="_blank">https://github.com/regehr/llvm-transformation-pass/blob/master/hello/hello.cpp</a></div><div>Thank you for the program, I'll try it.</div><div><br></div><div>> If you want to spend some time tracking it down, I'd be happy to review a patch.</div><div>Yep, I'll track it down and make a patch.</div><div><br></div><div>Juneyoung Lee</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Mar 12, 2019 at 2:18 AM Philip Reames <<a href="mailto:listmail@philipreames.com" target="_blank">listmail@philipreames.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF">
    <p>I'd have expected the command you ran to work.  I'm guessing
      there's some bug that's crept in.</p>
    <p>If you want to spend some time tracking it down, I'd be happy to
      review a patch.</p>
    <p>Philip<br>
    </p>
    <div class="gmail-m_-4982521658583402274gmail-m_-1303467473376615442moz-cite-prefix">On 3/7/19 3:15 AM, Juneyoung Lee via
      llvm-dev wrote:<br>
    </div>
    <blockquote type="cite">
      
      <div dir="ltr">
        <div dir="ltr">
          <div dir="ltr">
            <div dir="ltr">Hello all,
              <div><br>
              </div>
              <div>How can I see the result of lazy value info analysis?</div>
              <div><br>
              </div>
              <div>I ran a command `opt -lazy-value-info
                -correlated-propagation -print-lazy-value-info
                example.ll -disable-output` with a following program as
                the input:</div>
              <div><br>
              </div>
              <div>```</div>
              <div>
                <div>define i32 @f(i32 %a, i32 %b) {</div>
                <div>  %i = icmp eq i32 %a, 10</div>
                <div>  br i1 %i, label %A, label %B</div>
                <div>A:</div>
                <div>  %c = add i32 %a, 20</div>
                <div>  ret i32 %c</div>
                <div>B:</div>
                <div>  ret i32 0</div>
                <div>}</div>
                <div>```</div>
                <div><br>
                </div>
              </div>
              <div>However, it shows a following line only:</div>
              <div><br>
              </div>
              <div>```</div>
              <div>LVI for function 'f':<br>
              </div>
              <div>```</div>
              <div><br>
              </div>
              <div>Thank you :)</div>
              <div>Juneyoung Lee</div>
              <div><br>
              </div>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="gmail-m_-4982521658583402274gmail-m_-1303467473376615442mimeAttachmentHeader"></fieldset>
      <pre class="gmail-m_-4982521658583402274gmail-m_-1303467473376615442moz-quote-pre">_______________________________________________
LLVM Developers mailing list
<a class="gmail-m_-4982521658583402274gmail-m_-1303467473376615442moz-txt-link-abbreviated" href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a>
<a class="gmail-m_-4982521658583402274gmail-m_-1303467473376615442moz-txt-link-freetext" href="https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" target="_blank">https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a>
</pre>
    </blockquote>
  </div>

</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail-m_-4982521658583402274gmail_signature"><div dir="ltr"><div><br></div><font size="1">Juneyoung Lee</font><div><font size="1">Software Foundation Lab, Seoul National University</font></div></div></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><br></div><font size="1">Juneyoung Lee</font><div><font size="1">Software Foundation Lab, Seoul National University</font></div></div></div>