[PATCH] D43023: [TargetSchedule] Expose sub-units of a ProcResGroup in MCProcResourceDesc.

Clement Courbet via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 7 08:07:26 PST 2018


courbet created this revision.
courbet added a reviewer: gchatelet.

Right now using a ProcResource automatically counts as usage of all
super ProcResGroups. All this is done during codegen, so there is no
way for schedulers to get this information at runtime.

This adds the information of which individual ProcRes units are
contained in a ProcResGroup in MCProcResourceDesc.


Repository:
  rL LLVM

https://reviews.llvm.org/D43023

Files:
  include/llvm/MC/MCSchedule.h
  include/llvm/Target/TargetSchedule.td
  utils/TableGen/SubtargetEmitter.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D43023.133217.patch
Type: text/x-patch
Size: 4559 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180207/ed96bcf0/attachment-0001.bin>


More information about the llvm-commits mailing list