Skip to content

Commit 6b7b46f

Browse files
committed
Remove include of Vectorize.h
1 parent c5502cd commit 6b7b46f

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/aotcompile.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,9 @@
2727
#include <llvm/IR/Verifier.h>
2828
#include <llvm/Transforms/IPO.h>
2929
#include <llvm/Transforms/Scalar.h>
30+
#if JL_LLVM_VERSION < 180000
3031
#include <llvm/Transforms/Vectorize.h>
32+
#endif
3133
#include <llvm/Transforms/Instrumentation/AddressSanitizer.h>
3234
#include <llvm/Transforms/Instrumentation/MemorySanitizer.h>
3335
#include <llvm/Transforms/Instrumentation/ThreadSanitizer.h>

src/pipeline.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@
2121
#include <llvm/IR/Verifier.h>
2222
#include <llvm/Transforms/IPO.h>
2323
#include <llvm/Transforms/Scalar.h>
24+
#if JL_LLVM_VERSION < 180000
2425
#include <llvm/Transforms/Vectorize.h>
26+
#endif
2527
#include <llvm/Transforms/Instrumentation/AddressSanitizer.h>
2628
#include <llvm/Transforms/Instrumentation/ThreadSanitizer.h>
2729
#include <llvm/Transforms/Scalar/GVN.h>

0 commit comments

Comments
 (0)