diff --git a/lib/Target/R600/AMDGPU.h b/lib/Target/R600/AMDGPU.h index d3ef4260d65..9bf6a435a67 100644 --- a/lib/Target/R600/AMDGPU.h +++ b/lib/Target/R600/AMDGPU.h @@ -11,7 +11,7 @@ #ifndef AMDGPU_H #define AMDGPU_H -#include "AMDGPUTargetMachine.h" +#include "AMDILDeviceInfo.h" #include "llvm/Support/TargetRegistry.h" #include "llvm/Target/TargetMachine.h" diff --git a/lib/Target/R600/SIAnnotateControlFlow.cpp b/lib/Target/R600/SIAnnotateControlFlow.cpp index 2477e2a9dcc..9791ef43893 100644 --- a/lib/Target/R600/SIAnnotateControlFlow.cpp +++ b/lib/Target/R600/SIAnnotateControlFlow.cpp @@ -15,6 +15,8 @@ #include "AMDGPU.h" #include "llvm/ADT/DepthFirstIterator.h" #include "llvm/Analysis/Dominators.h" +#include "llvm/IR/Constants.h" +#include "llvm/IR/Instructions.h" #include "llvm/IR/Module.h" #include "llvm/Pass.h" #include "llvm/Transforms/Utils/BasicBlockUtils.h" diff --git a/lib/Target/R600/TargetInfo/AMDGPUTargetInfo.cpp b/lib/Target/R600/TargetInfo/AMDGPUTargetInfo.cpp index 46b1f18c626..f437564f4b8 100644 --- a/lib/Target/R600/TargetInfo/AMDGPUTargetInfo.cpp +++ b/lib/Target/R600/TargetInfo/AMDGPUTargetInfo.cpp @@ -11,7 +11,7 @@ // //===----------------------------------------------------------------------===// -#include "AMDGPU.h" +#include "AMDGPUTargetMachine.h" #include "llvm/Support/TargetRegistry.h" using namespace llvm;