[patch] Split DataLayout and DataLayoutPass

Rafael EspĂ­ndola rafael.espindola at gmail.com
Tue Feb 18 06:44:52 PST 2014


New versions attached.

The patches are
* llvm1.patch: Just split DataLayout in DataLayout and DataLayoutPass.
(pretty much the previous patch).
* clang.patch: Update for the api change in llvm1.patch.
* llvm2.patch: Store a DataLayout in Module.

In llvm2.patch we still have to keep a std::string in Module in order
the C api to be able to return an owned pointer to a C string. What
the patch does is ensure that the string and the DataLayout object are
in sync.

I am still working on the third patch that should remove
DataLayoutPass and replace it with threading DataLayout to the places
that need it.

Cheers,
Rafael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: llvm1.patch
Type: text/x-patch
Size: 45983 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140218/06d0f9a0/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: llvm2.patch
Type: text/x-patch
Size: 9166 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140218/06d0f9a0/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: clang.patch
Type: text/x-patch
Size: 1193 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140218/06d0f9a0/attachment-0002.bin>


More information about the llvm-commits mailing list