HomePhabricator

[ThinLTO] Refactor module loader handling into new LTO file (NFC)

Authored by tejohnson on May 23 2016, 3:54 PM.

Description

[ThinLTO] Refactor module loader handling into new LTO file (NFC)

Moved the ModuleLoader and supporting helper loadModuleFromBuffer out of
ThinLTOCodeGenerator and into new LTO.h/LTO.cpp files. This is in
preparation for a patch that will utilize these in the gold-plugin.

Note that there are some other pending patches (D20268 and D20290) that
also plan to refactor common interfaces and functionality into this same
pair of new files.

llvm-svn: 270509

Details

Committed
tejohnsonMay 23 2016, 3:54 PM
Parents
rG73d7a555b9fe: [WebAssembly] Basic TargetTransformInfo support for SIMD128.
Branches
Unknown
Tags
Unknown