<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jan 6, 2014 at 1:42 PM, Andrew Trick <span dir="ltr"><<a href="mailto:atrick@apple.com" target="_blank">atrick@apple.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im"><div>On Jan 6, 2014, at 10:10 AM, Chandler Carruth <<a href="mailto:chandlerc@google.com" target="_blank">chandlerc@google.com</a>> wrote:</div>
<br><blockquote type="cite"><div dir="ltr">Trying to bubble way back to the top, Andy, do you think there is anything else that needs to be done here before it can go in? I feel like most of our discussion centered around future work, and I'd like to unblock the immediate work to support subtarget-specific code generation.</div>
</blockquote><div><br></div></div><div>Do we have a solution that can work with TTI? I don’t think there was any objection to putting CGContext in TargetMachine, except that we have too many layers of abstraction, which you said will be cleaned up eventually:</div>
<div class="im"><div><br></div><div><font face="Menlo">IR Transform</font></div><div><font face="Menlo">(links with) -> TargetTransformInfo</font></div><div><font face="Menlo">(dynamic call) -> X86TTI</font></div>
<div><font face="Menlo">(links with) -> TargetMachine</font></div><div><font face="Menlo">(provides) -> CGContext</font></div></div></blockquote></div><br>This seems fine to me?</div></div>