From 7568ccb877777b2d984420e041d3cd9d5e08bb13 Mon Sep 17 00:00:00 2001 From: Augie Fackler Date: Tue, 7 Nov 2023 10:33:28 -0500 Subject: [PATCH] llvm-wrapper: address removal of a header The good news is that it was just giving us a function from another header, which appears to have been around for a very long time (LLVM 10) so no ifdefs or anything required. @rustbot label: +llvm-main --- compiler/rustc_llvm/llvm-wrapper/LLVMWrapper.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/rustc_llvm/llvm-wrapper/LLVMWrapper.h b/compiler/rustc_llvm/llvm-wrapper/LLVMWrapper.h index 3f2bf2c9b444d..f500459795c47 100644 --- a/compiler/rustc_llvm/llvm-wrapper/LLVMWrapper.h +++ b/compiler/rustc_llvm/llvm-wrapper/LLVMWrapper.h @@ -25,7 +25,7 @@ #include "llvm/Transforms/IPO.h" #include "llvm/Transforms/Instrumentation.h" #include "llvm/Transforms/Scalar.h" -#include "llvm/Transforms/Vectorize.h" +#include "llvm/Transforms/Vectorize/LoadStoreVectorizer.h" #define LLVM_VERSION_GE(major, minor) \ (LLVM_VERSION_MAJOR > (major) || \