[PATCH] D94604: [CodeGen] Allow parallel uses of a resource

David Penry via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 13 07:58:06 PST 2021


dpenry created this revision.
Herald added subscribers: ecnelises, javed.absar, hiraditya, MatzeB.
dpenry requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

At present, if a write resource is listed more than once by a
instruction, the resource is assumed to be used sequentially
across multiple cycles.  The new ResourceUses attribute
of ProcWriteResource permits multiple simultaneous uses to be
specified.

Use the ResourceUses information when performing machine scheduling
and other codegen tasks.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D94604

Files:
  llvm/include/llvm/CodeGen/MachineScheduler.h
  llvm/include/llvm/MC/MCSchedule.h
  llvm/include/llvm/Target/TargetSchedule.td
  llvm/lib/CodeGen/MachinePipeliner.cpp
  llvm/lib/CodeGen/MachineScheduler.cpp
  llvm/lib/CodeGen/MachineTraceMetrics.cpp
  llvm/lib/MC/MCSchedule.cpp
  llvm/utils/TableGen/SubtargetEmitter.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D94604.316402.patch
Type: text/x-patch
Size: 17642 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210113/a866c202/attachment.bin>


More information about the llvm-commits mailing list