<div dir="ltr"><br><div>Neither '-disable-verify' nor '-mllvm -disable-verify' seem to work with LLVM/Clang 3.8.0</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 22 October 2017 at 00:50, Siddharth Bhat <span dir="ltr"><<a href="mailto:siddu.druid@gmail.com" target="_blank">siddu.druid@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">You can also `-disable-verify -o <output-filename> ` which will disable the verify check.</div><br><div class="gmail_quote"><div dir="ltr">On Sat, 21 Oct 2017 at 23:54 Dipanjan Das via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div>Yes, that definitely works. Wanted to know if there's a switch for file output or not.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 21 October 2017 at 23:45, 陳韋任 <span dir="ltr"><<a href="mailto:chenwj.cs97g@g2.nctu.edu.tw" target="_blank">chenwj.cs97g@g2.nctu.edu.tw</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Just use Unix IO redirect? `llc -mllvm -print-after-all &> a.txt`</div></div><div class="gmail_extra"><br><div class="gmail_quote">2017-10-22 14:17 GMT+08:00 Dipanjan Das via llvm-dev <span dir="ltr"><<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div>Seems like "-mllvm -print-after-all" does the trick. Is there any switch that dumps the output to a file instead of console?</div></div><div class="m_-1780299154253264695m_7084347724572743210m_8035436730822047961HOEnZb"><div class="m_-1780299154253264695m_7084347724572743210m_8035436730822047961h5"><div class="gmail_extra"><br><div class="gmail_quote">On 21 October 2017 at 21:33, Dipanjan Das <span dir="ltr"><<a href="mailto:mail.dipanjan.das@gmail.com" target="_blank">mail.dipanjan.das@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><br></div><div>My pass complains and gives up after spitting out:</div><div><br></div><div>==============================<wbr>========</div><div><div>Instruction does not dominate all uses!</div><div> %44 = icmp ne i8** %endptr, null </div><div> br i1 %44, label %32, label %33 </div><div>Instruction has bogus parent pointer! </div></div><div>==============================<wbr>========<br></div><div><br></div>Is there any way to dump the entire IR even in broken form from the backend so that I can inspect what's going on?<span class="m_-1780299154253264695m_7084347724572743210m_8035436730822047961m_-1331722216648771687HOEnZb"><font color="#888888"><br clear="all"><div><br></div>-- <br><div class="m_-1780299154253264695m_7084347724572743210m_8035436730822047961m_-1331722216648771687m_-1771331634886378804gmail_signature"><div dir="ltr"><span><div><div dir="ltr"><p>Thanks & Regards,</p>
<div>Dipanjan</div></div></div></span></div></div>
</font></span></div>
</blockquote></div><br><br clear="all"><span class="m_-1780299154253264695m_7084347724572743210HOEnZb"><font color="#888888"><div><br></div>-- <br><div class="m_-1780299154253264695m_7084347724572743210m_8035436730822047961m_-1331722216648771687gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><span><div><div dir="ltr"><p>Thanks & Regards,</p>
<div>Dipanjan</div></div></div></span></div></div>
</font></span></div><span class="m_-1780299154253264695m_7084347724572743210HOEnZb"><font color="#888888">
</font></span></div></div><span class="m_-1780299154253264695m_7084347724572743210HOEnZb"><font color="#888888"><br>______________________________<wbr>_________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/<wbr>mailman/listinfo/llvm-dev</a><br>
<br></font></span></blockquote></div><span class="m_-1780299154253264695m_7084347724572743210HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div class="m_-1780299154253264695m_7084347724572743210m_8035436730822047961gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Wei-Ren Chen (陳韋任)<br>Homepage: <a href="https://people.cs.nctu.edu.tw/~chenwj" target="_blank">https://people.cs.nctu.edu.tw/<wbr>~chenwj</a></div></div></div>
</font></span></div>
</blockquote></div><br><br clear="all"><span class="HOEnZb"><font color="#888888"><div><br></div>-- <br><div class="m_-1780299154253264695m_7084347724572743210gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><span><div><div dir="ltr"><p>Thanks & Regards,</p>
<div>Dipanjan</div></div></div></span></div></div>
</font></span></div><span class="HOEnZb"><font color="#888888">
______________________________<wbr>_________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/<wbr>mailman/listinfo/llvm-dev</a><br>
</font></span></blockquote></div><span class="HOEnZb"><font color="#888888"><div dir="ltr">-- <br></div><div class="m_-1780299154253264695gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Sending this from my phone, please excuse any typos!</div></div>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><span><div><div dir="ltr"><p>Thanks & Regards,</p>
<div>Dipanjan</div></div></div></span></div></div>
</div>