[LLVMdev] RFC: Could we move TargetLibraryInfo into lib/Analysis?
Chandler Carruth
chandlerc at gmail.com
Wed Jan 14 03:03:22 PST 2015
While this is target information, it isn't actually part of the target
today and doesn't use any part of the target code. Maybe some day we can
use a target hook to initialize the data structures, but even then I feel
like this really belongs in the core analysis library.
Would there be any objections to just moving it into Analysis?
Doing this would remove a seriously ugly layering violation we have today.
I believe this would remove the last dependency on lib/Target by
lib/Analysis and the largest set of dependencies on lib/Target by
lib/Transforms.
If there is general agreement, I will make it so.
-Chandler
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150114/8e78f2af/attachment.html>
More information about the llvm-dev
mailing list