[llvm] 30c0bea - SparcSubtarget.h - cleanup include dependencies. NFCI.

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 29 08:42:43 PDT 2020


Author: Simon Pilgrim
Date: 2020-09-29T16:41:58+01:00
New Revision: 30c0bea5714400d52ab50693e4a7e738ab789400

URL: https://github.com/llvm/llvm-project/commit/30c0bea5714400d52ab50693e4a7e738ab789400
DIFF: https://github.com/llvm/llvm-project/commit/30c0bea5714400d52ab50693e4a7e738ab789400.diff

LOG: SparcSubtarget.h - cleanup include dependencies. NFCI.

TargetFrameLowering.h is guaranteed to be covered by SparcFrameLowering.h

Fix missing implicit Triple.h dependency.

Added: 
    

Modified: 
    llvm/lib/Target/Sparc/SparcSubtarget.h

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Target/Sparc/SparcSubtarget.h b/llvm/lib/Target/Sparc/SparcSubtarget.h
index 671db01e8321..82a4aa510355 100644
--- a/llvm/lib/Target/Sparc/SparcSubtarget.h
+++ b/llvm/lib/Target/Sparc/SparcSubtarget.h
@@ -16,8 +16,8 @@
 #include "SparcFrameLowering.h"
 #include "SparcISelLowering.h"
 #include "SparcInstrInfo.h"
+#include "llvm/ADT/Triple.h"
 #include "llvm/CodeGen/SelectionDAGTargetInfo.h"
-#include "llvm/CodeGen/TargetFrameLowering.h"
 #include "llvm/CodeGen/TargetSubtargetInfo.h"
 #include "llvm/IR/DataLayout.h"
 #include <string>


        


More information about the llvm-commits mailing list