This is an archive of the discontinued LLVM Phabricator instance.

Rewrite llvm-lto's codegen() using ThinCodeGenerator::run(). NFC-ish.
ClosedPublic

Authored by aprantl on May 19 2017, 9:38 AM.

Details

Summary

This patch rewrites llvm-lto's codegen() using ThinCodeGenerator::run().
The change is NFC-ish (if you pass multiple files, the all files will now be codegen'd first and then written to disk instead of writing each module to disk after it has been codegen'd.

This is supposed to make https://reviews.llvm.org/D33151 simpler.

Diff Detail

Repository
rL LLVM

Event Timeline

aprantl created this revision.May 19 2017, 9:38 AM
This revision is now accepted and ready to land.May 19 2017, 10:32 AM
This revision was automatically updated to reflect the committed changes.