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

dpenry via All-commits all-commits at lists.llvm.org
Wed Aug 17 08:13:51 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8c4aea438c310816bb4e4f9a32d783381ef3182e
      https://github.com/llvm/llvm-project/commit/8c4aea438c310816bb4e4f9a32d783381ef3182e
  Author: David Penry <david.penry at arm.com>
  Date:   2022-08-17 (Wed, 17 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
rejected.

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

Reviewed By: dmgreen

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




More information about the All-commits mailing list