From: Simon Pilgrim Date: Fri, 24 Apr 2020 15:18:10 +0000 (+0100) Subject: AMDGPUArgumentUsageInfo.h - cleanup includes and forward declarations. NFC. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=091f7f010311ac576d652cd0a0352681777929c5;p=platform%2Fupstream%2Fllvm.git AMDGPUArgumentUsageInfo.h - cleanup includes and forward declarations. NFC. Reduce Function.h include to (already existing) forward declaration. Remove unused GCNSubtarget/TargetMachine forward declarations. --- diff --git a/llvm/lib/Target/AMDGPU/AMDGPUArgumentUsageInfo.h b/llvm/lib/Target/AMDGPU/AMDGPUArgumentUsageInfo.h index 112934f..b4ef0c5 100644 --- a/llvm/lib/Target/AMDGPU/AMDGPUArgumentUsageInfo.h +++ b/llvm/lib/Target/AMDGPU/AMDGPUArgumentUsageInfo.h @@ -11,15 +11,12 @@ #include "llvm/ADT/DenseMap.h" #include "llvm/CodeGen/Register.h" -#include "llvm/IR/Function.h" #include "llvm/Pass.h" namespace llvm { class Function; class raw_ostream; -class GCNSubtarget; -class TargetMachine; class TargetRegisterClass; class TargetRegisterInfo;