diff options
Diffstat (limited to 'lib/Module/KModule.cpp')
-rw-r--r-- | lib/Module/KModule.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Module/KModule.cpp b/lib/Module/KModule.cpp index 8014e135..4a2e6e79 100644 --- a/lib/Module/KModule.cpp +++ b/lib/Module/KModule.cpp @@ -48,6 +48,9 @@ #include "llvm/Support/raw_os_ostream.h" #include "llvm/Support/Path.h" #include "llvm/Transforms/Scalar.h" +#if LLVM_VERSION_CODE >= LLVM_VERSION(8, 0) +#include "llvm/Transforms/Scalar/Scalarizer.h" +#endif #include "llvm/Transforms/Utils/Cloning.h" |