mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-24 00:33:12 +01:00
Follow "The Great Renaming" in LLVM 3.3
This time VMCore was renamed to IR. Several top level include files were moved to new subfolder IR.
This commit is contained in:
@@ -22,16 +22,23 @@
|
||||
#include "Passes.h"
|
||||
|
||||
#include "llvm/Pass.h"
|
||||
#if LDC_LLVM_VER >= 303
|
||||
#include "llvm/IR/Module.h"
|
||||
#include "llvm/IR/Constants.h"
|
||||
#include "llvm/IR/Intrinsics.h"
|
||||
#include "llvm/IR/IRBuilder.h"
|
||||
#else
|
||||
#include "llvm/Module.h"
|
||||
#include "llvm/Constants.h"
|
||||
#include "llvm/Intrinsics.h"
|
||||
#include "llvm/Support/CallSite.h"
|
||||
#include "llvm/Support/CommandLine.h"
|
||||
#if LDC_LLVM_VER >= 302
|
||||
#if LDC_LLVM_VER == 302
|
||||
#include "llvm/IRBuilder.h"
|
||||
#else
|
||||
#include "llvm/Support/IRBuilder.h"
|
||||
#endif
|
||||
#endif
|
||||
#include "llvm/Support/CallSite.h"
|
||||
#include "llvm/Support/CommandLine.h"
|
||||
#include "llvm/Analysis/CallGraph.h"
|
||||
#include "llvm/Analysis/Dominators.h"
|
||||
#include "llvm/Analysis/ValueTracking.h"
|
||||
|
||||
Reference in New Issue
Block a user