[PATCH] [PM] Change the core design of the TTI analysis to use a polymorphic type erased interface and a single analysis pass rather than an extremely complex analysis group.

Chandler Carruth chandlerc at gmail.com
Fri Jan 30 19:07:06 PST 2015


On Fri, Jan 30, 2015 at 6:42 PM, hfinkel at anl.gov <hfinkel at anl.gov> wrote:

> We had a long discussion about this design on IRC, and I'm relatively
> happy with this now. Please go ahead.


FWIW, I want to summarize at least two things from that discussion on the
mailing list that I'm taking is things needed in follow-up work:

1) Try to narrow the API between the analysis and the targets to remove
some of the verbosity there and make it saner.

2) Try to narrow the API between the analysis and its clients to remove
some of the verbosity on that side.

3) Look for any ways to minimize the confusing use of CRTP-based "mixin"
classes that are used to share implementation. The current pattern isn't
really satisfying.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150130/416c6871/attachment.html>


More information about the llvm-commits mailing list