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

David Penry via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 30 13:29:44 PDT 2022


dpenry created this revision.
Herald added subscribers: steven.zhang, mgrang, kbarton, hiraditya, kristof.beyls, nemanjai, 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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D128941

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/lib/Target/Hexagon/HexagonInstrInfo.cpp
  llvm/lib/Target/PowerPC/PPCInstrInfo.cpp
  llvm/test/CodeGen/Thumb2/swp-regpressure.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D128941.441502.patch
Type: text/x-patch
Size: 38455 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220630/8ae78af5/attachment.bin>


More information about the llvm-commits mailing list