[PATCH] D51160: Adjust MIScheduler to use ProcResource counts

Jackson Woodruff via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 23 06:40:49 PDT 2018


Jackson created this revision.
Jackson added reviewers: javed.absar, atrick, MatzeB.
Herald added a subscriber: llvm-commits.

This fix allows the scheduler to take into account the number of
instances of each ProcResource specified.  Previously a declaration in a 
scheduler of `ProcResource<1>` would be treated identically to a 
declaration of `ProcResource<2>`. This patch fixes that.  Testsuite 
fixes are included for schedulers that have changed.


Repository:
  rL LLVM

https://reviews.llvm.org/D51160

Files:
  include/llvm/CodeGen/MachineScheduler.h
  include/llvm/CodeGen/TargetSchedule.h
  lib/CodeGen/MachineScheduler.cpp
  test/CodeGen/AArch64/ldst-paired-aliasing.ll
  test/CodeGen/ARM/saxpy10-a9.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D51160.162169.patch
Type: text/x-patch
Size: 8932 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180823/4d9d311e/attachment.bin>


More information about the llvm-commits mailing list