[LLVMdev] [RFC] CGContext skeleton implementation
Andrew Trick
atrick at apple.com
Mon Jan 6 11:09:11 PST 2014
On Jan 6, 2014, at 11:02 AM, Chandler Carruth <chandlerc at google.com> wrote:
>
> On Mon, Jan 6, 2014 at 1:42 PM, Andrew Trick <atrick at apple.com> wrote:
> On Jan 6, 2014, at 10:10 AM, Chandler Carruth <chandlerc at google.com> wrote:
>
>> 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.
>
> 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:
>
> IR Transform
> (links with) -> TargetTransformInfo
> (dynamic call) -> X86TTI
> (links with) -> TargetMachine
> (provides) -> CGContext
>
> This seems fine to me?
Ok. Future work: do something simpler for TTI, as opposed to analysis groups.
-Andy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140106/532a2148/attachment.html>
More information about the llvm-dev
mailing list