diff options
| author | Krasimir Georgiev <krasimir@google.com> | 2024-06-17 09:35:38 +0000 |
|---|---|---|
| committer | Nikita Popov <npopov@redhat.com> | 2024-07-30 10:22:48 +0200 |
| commit | 00bfd702dc8c3b760b4f965fd059a5f1db8bb2b1 (patch) | |
| tree | 470bb0578603ab3c6a0359bcaa3098ad2c8c2394 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | 579ab05e76f1434f3074195c7291895f1257bc97 (diff) | |
| download | rust-00bfd702dc8c3b760b4f965fd059a5f1db8bb2b1.tar.gz rust-00bfd702dc8c3b760b4f965fd059a5f1db8bb2b1.zip | |
Disable MC/DC tests on LLVM 19
Disable the tests and generate an error if MC/DC is used on LLVM 19. The support will be ported separately, as it is substantially different on LLVM 19, and there are no plans to support both versions.
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 |
