[llvm] 6fafde0 - TargetSubtargetInfo.h - remove unnecessary forward declarations. NFC.
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 26 04:36:43 PDT 2020
Author: Simon Pilgrim
Date: 2020-06-26T12:30:15+01:00
New Revision: 6fafde0387229d6656faee41100b73615343819a
URL: https://github.com/llvm/llvm-project/commit/6fafde0387229d6656faee41100b73615343819a
DIFF: https://github.com/llvm/llvm-project/commit/6fafde0387229d6656faee41100b73615343819a.diff
LOG: TargetSubtargetInfo.h - remove unnecessary forward declarations. NFC.
We have to include MCSubtargetInfo.h
Added:
Modified:
llvm/include/llvm/CodeGen/TargetSubtargetInfo.h
Removed:
################################################################################
diff --git a/llvm/include/llvm/CodeGen/TargetSubtargetInfo.h b/llvm/include/llvm/CodeGen/TargetSubtargetInfo.h
index 169652e9f592..e0dfd9c8bbc5 100644
--- a/llvm/include/llvm/CodeGen/TargetSubtargetInfo.h
+++ b/llvm/include/llvm/CodeGen/TargetSubtargetInfo.h
@@ -25,7 +25,6 @@
#include <memory>
#include <vector>
-
namespace llvm {
class CallLowering;
@@ -42,9 +41,6 @@ struct MCWriteProcResEntry;
class RegisterBankInfo;
class SDep;
class SelectionDAGTargetInfo;
-struct SubtargetFeatureKV;
-struct SubtargetSubTypeKV;
-struct SubtargetInfoKV;
class SUnit;
class TargetFrameLowering;
class TargetInstrInfo;
More information about the llvm-commits
mailing list