[llvm-commits] [PATCH 1/4] Profile metadata: Move enum

Alastair Murray alastairmurray42 at gmail.com
Sat Aug 18 06:27:28 PDT 2012


Hello all,

Please review the attached patch.

This is the first of four patches to support setting branch weight 
metadata by profiling.

This is a small patch to move a single enum out of ProfileInfoTypes.h 
into a new ProfileDataTypes,h header.  This is done so as patches #2-#4 
can be submitted without waiting for ProfileInfo removal.  With this 
patch the old and new profiling code can exist side-by-side.

This also means that the libprofile runtime code and the 
insert-edge-profiling pass do not depend on ProfileInfo.  Note that is 
*not* the case for insert-optimal-edge-profiling, it heavily depends on 
ProfileInfo and the profile loader to follow in patch #2 does not 
support loading optimal-edge-profiling data.

Regards,
Alastair Murray
-------------- next part --------------
A non-text attachment was scrubbed...
Name: weights_1_move_enum.patch
Type: text/x-patch
Size: 3107 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120818/2770c360/attachment.bin>


More information about the llvm-commits mailing list