diff options
| author | The Miri Cronjob Bot <miri@cron.bot> | 2024-08-02 05:04:35 +0000 |
|---|---|---|
| committer | The Miri Cronjob Bot <miri@cron.bot> | 2024-08-02 05:04:35 +0000 |
| commit | 85ed3fe55deacae65d0416fe87abec4aa25846e3 (patch) | |
| tree | 3cbaa240ba0b44683a2504163b5dfff9688276bb /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | 7d7c4db474af426bf33a179dea6be0783025b0ca (diff) | |
| parent | 05e692ae025fd4650c601e1e7ab51bdc5e19c35b (diff) | |
| download | rust-85ed3fe55deacae65d0416fe87abec4aa25846e3.tar.gz rust-85ed3fe55deacae65d0416fe87abec4aa25846e3.zip | |
Merge from rustc
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
| -rw-r--r-- | compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp b/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp index 4cdd8af1008..2ff7335a0fc 100644 --- a/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp +++ b/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp @@ -1555,7 +1555,7 @@ LLVMRustGetInstrProfMCDCTVBitmapUpdateIntrinsic(LLVMModuleRef M) { extern "C" LLVMValueRef LLVMRustGetInstrProfMCDCCondBitmapIntrinsic(LLVMModuleRef M) { -#if LLVM_VERSION_GE(18, 0) +#if LLVM_VERSION_GE(18, 0) && LLVM_VERSION_LT(19, 0) return wrap(llvm::Intrinsic::getDeclaration( unwrap(M), llvm::Intrinsic::instrprof_mcdc_condbitmap_update)); #else |
