[llvm-commits] [PATCH] a pass that strips tbaa metadata

Jan Voung jvoung at google.com
Thu Aug 30 16:06:41 PDT 2012


Hi all,

Attached is a patch that adds a very simple pass to strip TBAA metadata.

(1) It might be useful as another way to test that TBAA metadata is
optional (besides setting --enable-tbaa to false, or not generating it in
the first place).

(2) It might be useful for producing even-more-stripped bitcode files
(beyond the existing "-strip" and "-strip-debug"), if it is known that all
useful optimizations have already been run on the program.  Metadata
attachments are an average of ~7% of the total file size, for some set of
programs we've seen.

Are there important uses of TBAA metadata in the various backends?

Thanks,
- Jan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120830/9bda3ef5/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: strip_tbaa.patch
Type: application/octet-stream
Size: 7085 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120830/9bda3ef5/attachment.obj>


More information about the llvm-commits mailing list