auto merge of #11853 : alexcrichton/rust/up-llvm, r=brson
This upgrade brings commit by @eddyb to help optimizations of virtual calls in
a few places (6d2bd95
) as well as a
commit by @c-a to *greatly* improve the runtime of the optimization passes
(https://github.com/rust-lang/llvm/pull/3).
Nice work to these guys!
This commit is contained in:
commit
e3b1f3c443
8 changed files with 26 additions and 16 deletions
|
@ -186,7 +186,7 @@ LLVMRustPrintModule(LLVMPassManagerRef PMR,
|
|||
std::string ErrorInfo;
|
||||
raw_fd_ostream OS(path, ErrorInfo, sys::fs::F_Binary);
|
||||
formatted_raw_ostream FOS(OS);
|
||||
PM->add(createPrintModulePass(&FOS));
|
||||
PM->add(createPrintModulePass(FOS));
|
||||
PM->run(*unwrap(M));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue