From 32626ea9e3ad94969589525505011bb336420f91 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lukas=20B=C3=B6hm?= Date: Mon, 14 Nov 2016 21:38:25 +0100 Subject: [PATCH] Support llvm 4.0: Bitcode/ReaderWriter.h -> BitCode/BitcodeWriter.h --- module.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/module.cpp b/module.cpp index 1ec2dcbc..6a5a2f4f 100644 --- a/module.cpp +++ b/module.cpp @@ -128,7 +128,11 @@ #include #include #include -#include +#if ISPC_LLVM_VERSION <= ISPC_LLVM_3_9 + #include +#else + #include +#endif /*! list of files encountered by the parser. this allows emitting of the module file's dependencies via the -MMM option */