support LLVM trunk

This commit is contained in:
Ilia Filippov
2014-03-07 16:28:56 +04:00
parent 6738af0a0c
commit 47f7900cd3
7 changed files with 23 additions and 13 deletions

View File

@@ -97,8 +97,10 @@
#include "llvm/Support/FormattedStream.h"
#if defined(LLVM_3_1) || defined(LLVM_3_2)
#include "llvm/Support/InstVisitor.h"
#else // LLVM 3.3+
#elif defined (LLVM_3_3) || defined (LLVM_3_4)
#include "llvm/InstVisitor.h"
#else // LLVM 3.5+
#include "llvm/IR/InstVisitor.h"
#endif
#include "llvm/Support/MathExtras.h"
#include "llvm/Support/TargetRegistry.h"