OSDN Git Service

Support resource tracking with InstrSchedModel
authorJinsong Ji <jji@us.ibm.com>
Wed, 29 May 2019 03:02:59 +0000 (03:02 +0000)
committerJinsong Ji <jji@us.ibm.com>
Wed, 29 May 2019 03:02:59 +0000 (03:02 +0000)
commit6ce3fb95f152337fe33362a9aa39cdace40575cb
treec0915ac894e0b4784b04253f896f1d3034677da7
parent42e6625f3aabe215a761af3da770a197710918a0
Support resource tracking with InstrSchedModel

The current design use DFA to do resource tracking in SMS,
and DFA only support InstrItins, and also has scaling limitation.

This patch extend SMS to allow Subtarget to use ProcResource in
InstrSchedModel instead.

Differential Revision: https://reviews.llvm.org/D62163

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@361919 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/MachinePipeliner.h
include/llvm/CodeGen/TargetSubtargetInfo.h
lib/CodeGen/MachinePipeliner.cpp