<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Nov 29, 2010, at 3:00 PM, Chris Lattner wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div><br>On Nov 29, 2010, at 2:57 PM, Evan Cheng wrote:<br><br><blockquote type="cite">Actually, this doesn't appear to be working on Darwin either. The issue is the call is turned into a fsin node and the "tailcall" property is apparently lost by the time legalizer expands it back into a call.  This needs to be fixed but I am not sure how.<br></blockquote><br>Ah, I thought it was working for me.  It should always be safe to add this for sin/cos/etc.  The "tailcall" property just means that the callee is known to not access the callers stack frame.<br></div></blockquote><div><br></div><div>Right, it should be safe to mark it tailcall when the node does not take a chain operand.</div><div><br></div><div>Evan</div><div><br></div><blockquote type="cite"><div><br>-Chris<br><br></div></blockquote></div><br></body></html>