about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-08-02 07:38:27 +0000
committerbors <bors@rust-lang.org>2024-08-02 07:38:27 +0000
commit989b8f733fc7036356460c4440065827e33a88af (patch)
tree056b99aca449ccce7a13401f288731786953dbdf /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent9de5630c1c4443aa3c7a49d2f53884187b1cce42 (diff)
parentfc260e163adb9d001fe69c1a9578abdb8bb0986d (diff)
downloadrust-989b8f733fc7036356460c4440065827e33a88af.tar.gz
rust-989b8f733fc7036356460c4440065827e33a88af.zip
Auto merge of #3783 - rust-lang:rustup-2024-08-02, r=RalfJung
Automatic Rustup
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
-rw-r--r--compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp2
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