Small fixes to build with LLVM top-of-tree (now numbered as version 3.3)

This commit is contained in:
Matt Pharr
2012-12-02 14:29:24 -08:00
parent e82b649ec0
commit 8cbfde6092
4 changed files with 11 additions and 5 deletions

View File

@@ -71,7 +71,11 @@
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/FormattedStream.h"
#include "llvm/Support/GetElementPtrTypeIterator.h"
#include "llvm/Support/InstVisitor.h"
#if defined(LLVM_3_3)
#include "llvm/InstVisitor.h"
#else
#include "llvm/Support/InstVisitor.h"
#endif
#include "llvm/Support/MathExtras.h"
#include "llvm/Support/TargetRegistry.h"
#include "llvm/Support/Host.h"