llvm.org GIT mirror llvm / 1c1ff3b
LTO: Also init TTI for codegen passes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@172499 91177308-0d34-0410-b5e6-96231b3b80d8 Nadav Rotem 6 years ago
1 changed file(s) with 1 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
386386 FunctionPassManager *codeGenPasses = new FunctionPassManager(mergedModule);
387387
388388 codeGenPasses->add(new DataLayout(*_target->getDataLayout()));
389 _target->addAnalysisPasses(*codeGenPasses);
389390
390391 formatted_raw_ostream Out(out);
391392