<div dir="ltr">On 25 October 2013 14:15, Richard Sandiford <span dir="ltr"><<a href="mailto:rsandifo@linux.vnet.ibm.com" target="_blank">rsandifo@linux.vnet.ibm.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Also, llvmpipe uses intrinsics for some things, so it might be strange<br>
if we decompose IR operations but leave the intriniscs alone.<br></blockquote><div><br></div><div>Yes, this is a problem with OpenCL as well. I wonder if it'd be useful to have a compiler-implemented inlined library code for each type of supported intrinsic, so that you can also lower them to code. </div>
<div><br></div><div>For targets that don't support the intrinsics, well, the IR wouldn't compile, so being slow is better than not working at all, but I wonder how much worse it would be to do that.</div><div></div>
</div><br></div><div class="gmail_extra">cheers,</div><div class="gmail_extra">--renato</div></div>