[llvm] 091f7f0 - AMDGPUArgumentUsageInfo.h - cleanup includes and forward declarations. NFC.

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 24 08:25:05 PDT 2020


Author: Simon Pilgrim
Date: 2020-04-24T16:21:37+01:00
New Revision: 091f7f010311ac576d652cd0a0352681777929c5

URL: https://github.com/llvm/llvm-project/commit/091f7f010311ac576d652cd0a0352681777929c5
DIFF: https://github.com/llvm/llvm-project/commit/091f7f010311ac576d652cd0a0352681777929c5.diff

LOG: AMDGPUArgumentUsageInfo.h - cleanup includes and forward declarations. NFC.
Reduce Function.h include to (already existing) forward declaration.
Remove unused GCNSubtarget/TargetMachine forward declarations.

Added: 
    

Modified: 
    llvm/lib/Target/AMDGPU/AMDGPUArgumentUsageInfo.h

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Target/AMDGPU/AMDGPUArgumentUsageInfo.h b/llvm/lib/Target/AMDGPU/AMDGPUArgumentUsageInfo.h
index 112934fd133e..b4ef0c5533df 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;
 


        


More information about the llvm-commits mailing list