<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">FWIW, this is kind of lame, but this is how that work!<div class=""><br class=""></div><div class="">Q.<br class=""><div><blockquote type="cite" class=""><div class="">On Jul 1, 2015, at 11:57 AM, Quentin Colombet <<a href="mailto:qcolombet@apple.com" class="">qcolombet@apple.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi Elena,<div class=""><br class=""></div><div class="">I think the checks are done by the front-end, then if the values provided to an intrinsic do not work for the IR, the backend aborts with cannot select.</div><div class="">I may be wrong of course, this is my recollection of how the ARM backend work for neon intrinsics.</div><div class=""><br class=""></div><div class="">The bottom line is you may want to ask this question to cfe dev.</div><div class=""><br class=""></div><div class="">Cheers,</div><div class="">Q.</div><div class=""><br class=""><div class=""><blockquote type="cite" class=""><div class="">On Jun 28, 2015, at 12:07 AM, Demikhovsky, Elena <<a href="mailto:elena.demikhovsky@intel.com" class="">elena.demikhovsky@intel.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class="">

<meta http-equiv="Content-Type" content="text/html; charset=us-ascii" class="">
<meta name="Generator" content="Microsoft Exchange Server" class="">
<!-- converted from rtf -->
<style class=""><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>

<div class="">
<font face="Calibri" size="2" class=""><span style="font-size:11pt;" class="">
<div class="">Hi,</div>
<div class=""> </div>
<div class="">I have target specific intrinsics (X86 in my case) with special constant parameters.</div>
<div class="">Rounding mode constant, or scale value in gather/scatter. The scale, for example, may be 0, 1, 2, 4, or 8 only. </div>
<div class="">How do I verify the values on IR level ?</div>
<div class=""> </div>
<div class="">I’m looking at <font face="Consolas" color="#2B91AF" class="">Verifier</font><font face="Consolas" class="">::visitIntrinsicFunctionCall</font><font face="Consolas" class="">()</font></div>
<div class="">but I see only common intrinsics here, not target specific.</div>
<div class=""> </div>
<div class="">Thank you.</div>
<div class=""> </div>
<ul style="margin:0;padding-left:36pt;" class="">
<font face="Times New Roman" size="3" color="#31849B" class=""><span style="font-size:12pt;" class="">
<li class=""><b class=""><i class=""> Elena</i></b></li></span></font>
</ul>
<div class=""> </div>
<div class=""> </div>
<div class=""> </div>
</span></font><p class="">---------------------------------------------------------------------<br class="">
Intel Israel (74) Limited</p><p class="">This e-mail and any attachments may contain confidential material for<br class="">
the sole use of the intended recipient(s). Any review or distribution<br class="">
by others is strictly prohibited. If you are not the intended<br class="">
recipient, please contact the sender and delete all copies.</p></div>

_______________________________________________<br class="">LLVM Developers mailing list<br class=""><a href="mailto:LLVMdev@cs.uiuc.edu" class="">LLVMdev@cs.uiuc.edu</a>         <a href="http://llvm.cs.uiuc.edu/" class="">http://llvm.cs.uiuc.edu</a><br class=""><a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" class="">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br class=""></div></blockquote></div><br class=""></div></div></div></blockquote></div><br class=""></div></body></html>