about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/llvm_util.rs
diff options
context:
space:
mode:
authorBen Kimock <kimockb@gmail.com>2023-03-05 12:27:42 -0500
committerBen Kimock <kimockb@gmail.com>2023-03-05 12:27:42 -0500
commitd56332ece806af134fbbb017d5e989a68bb022e0 (patch)
tree284242248144c20d716fdafea65858586dabbafe /compiler/rustc_codegen_llvm/src/llvm_util.rs
parente397cf42ee93a6d00c6247af76be98e66a4f621f (diff)
parent740d476bbf9122b27c3aac18b5e4d2c8162cb576 (diff)
downloadrust-d56332ece806af134fbbb017d5e989a68bb022e0.tar.gz
rust-d56332ece806af134fbbb017d5e989a68bb022e0.zip
Merge from rustc
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/llvm_util.rs')
-rw-r--r--compiler/rustc_codegen_llvm/src/llvm_util.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/compiler/rustc_codegen_llvm/src/llvm_util.rs b/compiler/rustc_codegen_llvm/src/llvm_util.rs
index 20b1dd94153..ba58a2e68e9 100644
--- a/compiler/rustc_codegen_llvm/src/llvm_util.rs
+++ b/compiler/rustc_codegen_llvm/src/llvm_util.rs
@@ -120,8 +120,6 @@ unsafe fn configure_llvm(sess: &Session) {
         llvm::LLVMTimeTraceProfilerInitialize();
     }
 
-    llvm::LLVMInitializePasses();
-
     rustc_llvm::initialize_available_targets();
 
     llvm::LLVMRustSetLLVMOptions(llvm_args.len() as c_int, llvm_args.as_ptr());