From ee290ba35af88393ba18dd19e6e39d50c7872534 Mon Sep 17 00:00:00 2001 From: Andrew Trick Date: Tue, 18 Sep 2012 03:32:57 +0000 Subject: TableGen subtarget emitter. Remove unnecessary header dependence. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164094 91177308-0d34-0410-b5e6-96231b3b80d8 --- utils/TableGen/SubtargetEmitter.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'utils/TableGen') diff --git a/utils/TableGen/SubtargetEmitter.cpp b/utils/TableGen/SubtargetEmitter.cpp index cd034ef2e9..157c19e541 100644 --- a/utils/TableGen/SubtargetEmitter.cpp +++ b/utils/TableGen/SubtargetEmitter.cpp @@ -1248,6 +1248,7 @@ void SubtargetEmitter::run(raw_ostream &OS) { OS << "\n#ifdef GET_SUBTARGETINFO_CTOR\n"; OS << "#undef GET_SUBTARGETINFO_CTOR\n"; + OS << "#include \"llvm/CodeGen/TargetSchedule.h\"\n"; OS << "namespace llvm {\n"; OS << "extern const llvm::SubtargetFeatureKV " << Target << "FeatureKV[];\n"; OS << "extern const llvm::SubtargetFeatureKV " << Target << "SubTypeKV[];\n"; -- cgit v1.2.3-18-g5258