mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-20 11:33:24 +02:00
[X86] Adjust tablegen includes so we can use Instructions in scheduler models instead of just instregexs.
This separates the CPU specific scheduler model includes to occur after the instructions. Moves the instruction includes between the basic scheduler information and the CPU specific scheduler models. llvm-svn: 320313
This commit is contained in:
parent
7a0afe488a
commit
ea83ec7284
@ -324,10 +324,34 @@ def FeatureHasFastGather
|
||||
"Indicates if gather is reasonably fast.">;
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
// X86 processors supported.
|
||||
// Register File Description
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
include "X86RegisterInfo.td"
|
||||
include "X86RegisterBanks.td"
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
// Instruction Descriptions
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
include "X86Schedule.td"
|
||||
include "X86InstrInfo.td"
|
||||
|
||||
def X86InstrInfo : InstrInfo;
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
// X86 processors supported.
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
include "X86ScheduleAtom.td"
|
||||
include "X86SchedSandyBridge.td"
|
||||
include "X86SchedHaswell.td"
|
||||
include "X86SchedBroadwell.td"
|
||||
include "X86ScheduleSLM.td"
|
||||
include "X86ScheduleZnver1.td"
|
||||
include "X86ScheduleBtVer2.td"
|
||||
include "X86SchedSkylakeClient.td"
|
||||
include "X86SchedSkylakeServer.td"
|
||||
|
||||
def ProcIntelAtom : SubtargetFeature<"atom", "X86ProcFamily", "IntelAtom",
|
||||
"Intel Atom processors">;
|
||||
@ -954,21 +978,6 @@ def : ProcessorModel<"x86-64", SandyBridgeModel, [
|
||||
FeatureMacroFusion
|
||||
]>;
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
// Register File Description
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
include "X86RegisterInfo.td"
|
||||
include "X86RegisterBanks.td"
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
// Instruction Descriptions
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
include "X86InstrInfo.td"
|
||||
|
||||
def X86InstrInfo : InstrInfo;
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
// Calling Conventions
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
@ -692,13 +692,3 @@ def GenericPostRAModel : GenericX86Model {
|
||||
let PostRAScheduler = 1;
|
||||
}
|
||||
|
||||
include "X86ScheduleAtom.td"
|
||||
include "X86SchedSandyBridge.td"
|
||||
include "X86SchedHaswell.td"
|
||||
include "X86SchedBroadwell.td"
|
||||
include "X86ScheduleSLM.td"
|
||||
include "X86ScheduleZnver1.td"
|
||||
include "X86ScheduleBtVer2.td"
|
||||
include "X86SchedSkylakeClient.td"
|
||||
include "X86SchedSkylakeServer.td"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user