[PATCH] D62163: [MachinePipeliner] Support resource tracking with InstrSchedModel

Jinsong Ji via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 20 14:52:13 PDT 2019


jsji created this revision.
jsji added reviewers: bcahoon, kparzysz, nemanjai, kbarton, hfinkel, steven.zhang.
Herald added a subscriber: hiraditya.
Herald added a project: LLVM.

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

      

This patch extend SMS to allow Subtarget to use ProcResource in InstrSchedModel instead,
so that we can enable MachinePipeliner for PowerPC, 
which will be posted for review in following patch.


Repository:
  rL LLVM

https://reviews.llvm.org/D62163

Files:
  llvm/include/llvm/CodeGen/MachinePipeliner.h
  llvm/include/llvm/CodeGen/TargetSubtargetInfo.h
  llvm/lib/CodeGen/MachinePipeliner.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D62163.200360.patch
Type: text/x-patch
Size: 16863 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190520/89619430/attachment.bin>


More information about the llvm-commits mailing list