<div dir="ltr">Hi Tim,<div><br></div><div>I updated the file a little bit. It seemed that the error was caused by line 825 where it has a select instruction. The file can be successfully compiled on trunk if I change the select instruction to add. Any idea? or I should report a bug.</div><div><br></div><div>BTW, the error info is:</div><div>llc: /home/zhi/tools/llvm_trunk/source/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp:3069: llvm::SDValue llvm::SelectionDAG::getNode(unsigned int, llvm::SDLoc, llvm::EVT, llvm::SDValue): Assertion `Operand.getValueType().bitsLT(VT) && "Invalid sext node, dst < src!"' failed.<br></div><div><br></div><div>Best,</div><div>Zhi</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jan 20, 2016 at 6:22 PM, Tim Northover <span dir="ltr"><<a href="mailto:t.p.northover@gmail.com" target="_blank">t.p.northover@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 20 January 2016 at 15:46, zhi chen <<a href="mailto:zchenhn@gmail.com">zchenhn@gmail.com</a>> wrote:<br>
> Is it also a bug or do I miss something for avx-512 comparison?<br>
<br>
</span>It's almost certainly a bug in LLVM, though it's difficult to be sure<br>
with such a big .bc file. Your best bet is to reduce it down to the<br>
smallest .bc file you can and report a bug.<br>
<br>
Cheers.<br>
<span class="HOEnZb"><font color="#888888"><br>
Tim.<br>
</font></span></blockquote></div><br></div>