[cfe-commits] [Patch] Move TargetData from Target to Support/VMCore

Villmow, Micah Micah.Villmow at amd.com
Fri Sep 21 16:08:45 PDT 2012

This time with the actual patch

From: Villmow, Micah
Sent: Friday, September 21, 2012 4:08 PM
To: llvm-commits at cs.uiuc.edu; cfe-commits at cs.uiuc.edu
Subject: [Patch] Move TargetData from Target to Support/VMCore

I have attached a patch which moves TargetData from Target to Support/VMCore.
The reason why I would like to have this change can be read about in more detail in message [1][2], which in turn is required for [3].

In short, I need the capability of querying, if available, target specific information in the bitcode during verifier and the auto-upgrade mechanism.
Because TargetData is in the target directory, a circular dependency is created when the verifier and auto-upgrade mechanism utilize the information.

Please let me know what you think and if this approach isn't good, possible alternate solutions,

[1] http://lists.cs.uiuc.edu/pipermail/llvmdev/2012-September/053277.html
[2] http://lists.cs.uiuc.edu/pipermail/llvmdev/2012-September/053166.html
[3] http://lists.cs.uiuc.edu/pipermail/llvmdev/2012-August/052639.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120921/9580a5b4/attachment.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: move_target_data_to_support_vmcore.txt
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120921/9580a5b4/attachment.txt>

More information about the cfe-commits mailing list