<div dir="ltr">On 6 September 2013 21:55, Chris Lattner <span dir="ltr"><<a href="mailto:clattner@apple.com" target="_blank">clattner@apple.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"><div class="im"><span style="color:rgb(34,34,34)">IMO, if glibc's implementation of exp2 is so bad, LibCall info should get a bit to indicate this. This could disable pow(2 -> exp2, and could enable transformations from exp2(x) -> pow(2,x).</span></div>
</blockquote><div></div></div><br></div><div class="gmail_extra">Maybe a cost table / cost info in LC, so that optimizers could work out if it's worth exchanging N pows for M exps, or something like that, on a target specific basis.</div>
<div class="gmail_extra"><br></div><div class="gmail_extra">cheers,</div><div class="gmail_extra">--renato</div></div>