Support llvm 4.0: Bitcode/ReaderWriter.h -> BitCode/BitcodeWriter.h

This commit is contained in:
Lukas Böhm
2016-11-14 21:38:25 +01:00
parent d4a8afd6e8
commit 32626ea9e3

View File

@@ -128,7 +128,11 @@
#include <llvm/Support/ToolOutputFile.h>
#include <llvm/Support/Host.h>
#include <llvm/Support/raw_ostream.h>
#include <llvm/Bitcode/ReaderWriter.h>
#if ISPC_LLVM_VERSION <= ISPC_LLVM_3_9
#include <llvm/Bitcode/ReaderWriter.h>
#else
#include <llvm/Bitcode/BitcodeWriter.h>
#endif
/*! list of files encountered by the parser. this allows emitting of
the module file's dependencies via the -MMM option */