Hi all,<div><br></div><div>Attached is a patch that adds a very simple pass to strip TBAA metadata.</div><div><br></div><div>(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).</div>
<div><br></div><div>(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.</div>
<div><br></div><div>Are there important uses of TBAA metadata in the various backends?</div><div><br></div><div>Thanks,</div><div>- Jan</div>