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

Chris Lattner clattner at apple.com
Thu Oct 4 13:09:00 PDT 2012


On Oct 4, 2012, at 11:40 AM, "Villmow, Micah" <Micah.Villmow at amd.com> wrote:

> Chris, the problem with steps #2/#3 is that plenty of clients have forward declarations of TargetData and the typedef won't work in this case, so I need to update the clients anyways.
> 
> What about this sequence:
> 1) Introduce include/llvm/DataLayout.h and lib/VMCore/DataLayout.cpp(which is a functionally equivalent copy of TargetData).
> 2) Update each client to point to DataLayout.
> 3) Remove TargetData.

Sure, works for me, thanks!

-Chris



More information about the cfe-commits mailing list