From b0804ec2ad236c084a7a5dcca5874f10fdab0c86 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Fri, 7 Jun 2013 20:28:43 +0000 Subject: [PATCH] R600: Remove unnecessary include Reviewed-by: Vincent Lejeune llvm-svn: 183558 --- llvm/lib/Target/R600/AMDGPU.h | 2 +- llvm/lib/Target/R600/SIAnnotateControlFlow.cpp | 2 ++ llvm/lib/Target/R600/TargetInfo/AMDGPUTargetInfo.cpp | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/llvm/lib/Target/R600/AMDGPU.h b/llvm/lib/Target/R600/AMDGPU.h index d3ef4260d658..9bf6a435a67d 100644 --- a/llvm/lib/Target/R600/AMDGPU.h +++ b/llvm/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/llvm/lib/Target/R600/SIAnnotateControlFlow.cpp b/llvm/lib/Target/R600/SIAnnotateControlFlow.cpp index 2477e2a9dcc3..9791ef438938 100644 --- a/llvm/lib/Target/R600/SIAnnotateControlFlow.cpp +++ b/llvm/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/llvm/lib/Target/R600/TargetInfo/AMDGPUTargetInfo.cpp b/llvm/lib/Target/R600/TargetInfo/AMDGPUTargetInfo.cpp index 46b1f18c6263..f437564f4b84 100644 --- a/llvm/lib/Target/R600/TargetInfo/AMDGPUTargetInfo.cpp +++ b/llvm/lib/Target/R600/TargetInfo/AMDGPUTargetInfo.cpp @@ -11,7 +11,7 @@ // //===----------------------------------------------------------------------===// -#include "AMDGPU.h" +#include "AMDGPUTargetMachine.h" #include "llvm/Support/TargetRegistry.h" using namespace llvm;