mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
Now that the linker supports lazily materialising globals, don't
materialise them in LTO. I observed a ~0.5-1% speedup for an LTO link of opt. llvm-svn: 143784
This commit is contained in:
parent
470083dc27
commit
42ebc937cb
@ -90,10 +90,6 @@ LTOCodeGenerator::~LTOCodeGenerator()
|
||||
|
||||
bool LTOCodeGenerator::addModule(LTOModule* mod, std::string& errMsg)
|
||||
{
|
||||
|
||||
if(mod->getLLVVMModule()->MaterializeAllPermanently(&errMsg))
|
||||
return true;
|
||||
|
||||
bool ret = _linker.LinkInModule(mod->getLLVVMModule(), &errMsg);
|
||||
|
||||
const std::vector<const char*> &undefs = mod->getAsmUndefinedRefs();
|
||||
|
Loading…
x
Reference in New Issue
Block a user