]> git.lizzy.rs Git - rust.git/commitdiff
Auto merge of #66952 - 0dvictor:print, r=rkruppe
authorbors <bors@rust-lang.org>
Thu, 5 Dec 2019 11:23:26 +0000 (11:23 +0000)
committerbors <bors@rust-lang.org>
Thu, 5 Dec 2019 11:23:26 +0000 (11:23 +0000)
Use Module::print() instead of a PrintModulePass

llvm::Module has a print() method. It is unnecessary to create a pass just for the purpose of printing LLVM IR.

1  2 
src/librustc_codegen_llvm/back/write.rs
src/librustc_codegen_llvm/llvm/ffi.rs
src/rustllvm/PassWrapper.cpp

Simple merge
Simple merge