diff --git a/compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp b/compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp index 06f28f432bad3ad88d06d350b543a012c7735888..48b5fd6e283be28f957d220a2a7fe9b4611157b6 100644 --- a/compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp +++ b/compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp @@ -1118,7 +1118,7 @@ struct LLVMRustThinLTOData { // Not 100% sure what these are, but they impact what's internalized and // what's inlined across modules, I believe. -#if LLVM_VERSION_GE(17, 0) +#if LLVM_VERSION_GE(18, 0) DenseMap ImportLists; DenseMap ExportLists; DenseMap ModuleToDefinedGVSummaries;