[all-commits] [llvm/llvm-project] ca8eef: [CodeGen] Use ProcResGroup information in SchedBou...
David Green via All-commits
all-commits at lists.llvm.org
Mon Apr 19 13:28:13 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ca8eef7e3da8f750d7c7aa004fe426d1d34787ea
https://github.com/llvm/llvm-project/commit/ca8eef7e3da8f750d7c7aa004fe426d1d34787ea
Author: David Penry <david.penry at arm.com>
Date: 2021-04-19 (Mon, 19 Apr 2021)
Changed paths:
M llvm/include/llvm/CodeGen/MachineScheduler.h
M llvm/lib/CodeGen/MachineScheduler.cpp
M llvm/test/CodeGen/ARM/cortex-m7-wideops.mir
Log Message:
-----------
[CodeGen] Use ProcResGroup information in SchedBoundary
When the ProcResGroup has BufferSize=0,
1. if there is a subunit in the list of write resources for the
scheduling class, do not attempt to schedule the ProcResGroup.
2. if there is not a subunit in the list of write resources for the
scheduling class, choose a subunit to use instead of the ProcResGroup.
3. having both the ProcResGroup and any of its subunits in the resources
implied by a InstRW is not supported.
Used to model parallel uses from a pool of resources.
Differential Revision: https://reviews.llvm.org/D98976
More information about the All-commits
mailing list