diff options
| author | bors <bors@rust-lang.org> | 2023-06-30 00:35:19 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-06-30 00:35:19 +0000 |
| commit | 8aed93d912ec23819c08e9a89ca1fb461b3cd2e6 (patch) | |
| tree | cf08613768e315951133c7494e2487cebd22c598 /compiler/rustc_codegen_llvm/src/llvm/ffi.rs | |
| parent | 330727467b8fdf2c43b95095a0efae7012c4f83b (diff) | |
| parent | 7e786e81b00cf48a664084d30d4f82f408825397 (diff) | |
| download | rust-8aed93d912ec23819c08e9a89ca1fb461b3cd2e6.tar.gz rust-8aed93d912ec23819c08e9a89ca1fb461b3cd2e6.zip | |
Auto merge of #113116 - nnethercote:codegen-opts, r=oli-obk
A mish-mash of micro-optimizations These were aimed at speeding up LLVM codegen, but ended up affecting other places as well. r? `@bjorn3`
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/llvm/ffi.rs')
| -rw-r--r-- | compiler/rustc_codegen_llvm/src/llvm/ffi.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_codegen_llvm/src/llvm/ffi.rs b/compiler/rustc_codegen_llvm/src/llvm/ffi.rs index 6ef3418cc5f..fdc5f3b193e 100644 --- a/compiler/rustc_codegen_llvm/src/llvm/ffi.rs +++ b/compiler/rustc_codegen_llvm/src/llvm/ffi.rs @@ -1301,7 +1301,7 @@ extern "C" { NumArgs: c_uint, Then: &'a BasicBlock, Catch: &'a BasicBlock, - OpBundles: *const Option<&OperandBundleDef<'a>>, + OpBundles: *const &OperandBundleDef<'a>, NumOpBundles: c_uint, Name: *const c_char, ) -> &'a Value; @@ -1673,7 +1673,7 @@ extern "C" { Fn: &'a Value, Args: *const &'a Value, NumArgs: c_uint, - OpBundles: *const Option<&OperandBundleDef<'a>>, + OpBundles: *const &OperandBundleDef<'a>, NumOpBundles: c_uint, ) -> &'a Value; pub fn LLVMRustBuildMemCpy<'a>( |
