[all-commits] [llvm/llvm-project] 4bfe41: [TableGen][SubtargetEmitter] Add the StartAtCycles...

Francesco Petrogalli via All-commits all-commits at lists.llvm.org
Mon May 15 01:54:14 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4bfe4108022ee1d9cb4b1effde0be145042b71bb
      https://github.com/llvm/llvm-project/commit/4bfe4108022ee1d9cb4b1effde0be145042b71bb
  Author: Francesco Petrogalli <francesco.petrogalli at apple.com>
  Date:   2023-05-15 (Mon, 15 May 2023)

  Changed paths:
    M llvm/include/llvm/MC/MCSchedule.h
    M llvm/include/llvm/Target/TargetSchedule.td
    A llvm/test/TableGen/StartAtCycle.td
    M llvm/tools/llvm-exegesis/lib/SchedClassResolution.cpp
    M llvm/utils/TableGen/SubtargetEmitter.cpp

  Log Message:
  -----------
  [TableGen][SubtargetEmitter] Add the StartAtCycles field in the WriteRes class.

Conditions that need to be met:

1. count(StartAtCycle) == count(ReservedCycles);
2. For each i: StartAtCycles[i] < ReservedCycles[i];
3. For each i: StartAtCycles[i] >= 0;
4. If left unspecified, the elements are set to 0.

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




More information about the All-commits mailing list