<div dir="ltr">We already have a FIXME here: <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/Utils/X86ShuffleDecode.cpp?revision=227692&view=markup#l315">http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/Utils/X86ShuffleDecode.cpp?revision=227692&view=markup#l315</a></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Feb 12, 2015 at 4:37 PM, Chandler Carruth <span dir="ltr"><<a href="mailto:chandlerc@google.com" target="_blank">chandlerc@google.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 class="gmail_extra"><br><div class="gmail_quote"><span class="">On Thu, Feb 12, 2015 at 3:26 PM, David Majnemer <span dir="ltr"><<a href="mailto:david.majnemer@gmail.com" target="_blank">david.majnemer@gmail.com</a>></span> wrote:<br></span><span class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="overflow:hidden">Author: majnemer<br>
Date: Thu Feb 12 17:26:26 2015<br>
New Revision: 228979<br>
<br>
URL: <a href="http://llvm.org/viewvc/llvm-project?rev=228979&view=rev" target="_blank">http://llvm.org/viewvc/llvm-project?rev=228979&view=rev</a><br>
Log:<br>
X86: Don't crash if we can't decode the pshufb mask<br>
<br>
Constant pool entries are uniqued by their contents regardless of their<br>
type.  This means that a pshufb can have a shuffle mask which isn't a<br>
simple array of bytes.</div></blockquote></span></div><br>While we clearly should not crash, it'd be nice to decode these constant pool entries. Maybe leave a fixme or something so that at some point we come back and add decoding support for weird entries?</div></div>
</blockquote></div><br></div>