[PATCH] D132170: [ModuloSchedule] Add interface call to accept/reject SMS schedules

David Penry via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 18 13:10:35 PDT 2022


dpenry created this revision.
dpenry added reviewers: dmgreen, thopre, bcahoon, jsji, jmolloy.
Herald added subscribers: steven.zhang, mgrang, hiraditya, kristof.beyls, MatzeB.
Herald added a project: All.
dpenry requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

This interface allows a target to reject a proposed
SMS schedule.  For Hexagon/PowerPC, all schedules
are accepted, leaving behavior unchanged.  For ARM,
schedules which exceed register pressure limits are
rejected.

Also, two RegisterPressureTracker methods now need to be public so
that register pressure can be computed by more callers.

Reapplication of D128941 <https://reviews.llvm.org/D128941> with small fix.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D132170

Files:
  llvm/include/llvm/CodeGen/RegisterPressure.h
  llvm/include/llvm/CodeGen/TargetInstrInfo.h
  llvm/lib/CodeGen/MachinePipeliner.cpp
  llvm/lib/Target/ARM/ARMBaseInstrInfo.cpp
  llvm/test/CodeGen/Thumb2/swp-regpressure.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D132170.453762.patch
Type: text/x-patch
Size: 37502 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220818/50644a73/attachment.bin>


More information about the llvm-commits mailing list