<div dir="ltr">I think these patches work without the need for the extra instructions.</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Oct 1, 2013 at 10:23 PM, Craig Topper <span dir="ltr"><<a href="mailto:craig.topper@gmail.com" target="_blank">craig.topper@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
  I say we just redefine the llvm side intrinsic to take an i64 immediate that we check to ensure its only really 32-bits. Keep the header file intrinsic taking an int and let it get implicitly extended when the __builtin function is called.<br>

<br>
<a href="http://llvm-reviews.chandlerc.com/D1788" target="_blank">http://llvm-reviews.chandlerc.com/D1788</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>~Craig
</div>