[all-commits] [llvm/llvm-project] ced705: [ModuloSchedule] Add interface call to accept/reje...

dpenry via All-commits all-commits at lists.llvm.org
Mon Aug 22 12:11:26 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ced705c4407fa18329f8a6a50ce96a8f34a86820
  Author: David Penry <david.penry at arm.com>
  Date:   2022-08-22 (Mon, 22 Aug 2022)

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

  Log Message:
  [ModuloSchedule] Add interface call to accept/reject SMS schedules

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

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

Reapplication of D128941/(reversion:D132037) with small fix.

Differential Revision: https://reviews.llvm.org/D132170

More information about the All-commits mailing list