summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2022-11-15 01:40:46 +0100
committerGitHub <noreply@github.com>2022-11-15 01:40:46 +0100
commitf17828d938525ccea16833f731f8a9c40ea8fc93 (patch)
treed861f3eca3b5f5f33a0a26f30c47bdc9fbcc9792 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parentf0978eec014ddc076c00e1bb7ef50ca15dd9f6f7 (diff)
parent212ce1f10cba1a1c9abd856664dfa5c0a47a59bc (diff)
downloadrust-f17828d938525ccea16833f731f8a9c40ea8fc93.tar.gz
rust-f17828d938525ccea16833f731f8a9c40ea8fc93.zip
Rollup merge of #104413 - krasimirgg:llvm-16-mref, r=nikic
[llvm-wrapper] adapt for LLVM API change

for https://github.com/llvm/llvm-project/commit/feda983ff89b7be27a9bfabbabce7d2b59869eba.
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 0d9b5a57b69..85c520a7911 100644
--- a/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
+++ b/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
@@ -9,7 +9,7 @@
 #include "llvm/IR/IntrinsicsARM.h"
 #include "llvm/IR/Mangler.h"
 #if LLVM_VERSION_GE(16, 0)
-#include "llvm/IR/ModRef.h"
+#include "llvm/Support/ModRef.h"
 #endif
 #include "llvm/Object/Archive.h"
 #include "llvm/Object/COFFImportFile.h"