Fix build to work with LLVM top-of-tree again

This commit is contained in:
Matt Pharr
2013-01-06 12:02:08 -08:00
parent 2063d34f3e
commit 63dd7d9859
15 changed files with 306 additions and 111 deletions

View File

@@ -83,7 +83,11 @@ struct ForeachDimension;
#include "util.h"
#include <stdio.h>
#include <llvm/Constants.h>
#if !defined(LLVM_3_0) && !defined(LLVM_3_1) && !defined(LLVM_3_2)
#include <llvm/IR/Constants.h>
#else
#include <llvm/Constants.h>
#endif
#define UNIMPLEMENTED \
Error(yylloc, "Unimplemented parser functionality %s:%d", \