[all-commits] [llvm/llvm-project] 80b08d: [TableGen] Add support for per-write cycle tunable...
Ricardo Jesus via All-commits
all-commits at lists.llvm.org
Mon Feb 17 03:33:09 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 80b08d1bb803a2ee0af7ae5661dc8f2444d97a41
https://github.com/llvm/llvm-project/commit/80b08d1bb803a2ee0af7ae5661dc8f2444d97a41
Author: Ricardo Jesus <rjj at nvidia.com>
Date: 2025-02-17 (Mon, 17 Feb 2025)
Changed paths:
M llvm/include/llvm/Target/TargetSchedule.td
A llvm/test/TableGen/PerWriteCycleCount.td
M llvm/utils/TableGen/SubtargetEmitter.cpp
Log Message:
-----------
[TableGen] Add support for per-write cycle tunables (#125870)
This patch adds support for describing per-write resource cycle counts
for ReadAdvance records via a new optional field called `tunables`.
This makes it possible to declare ReadAdvance records such as:
def : ReadAdvance<Read_C, 1, [Write_A, Write_B], [2]>;
The above will effectively declare two entries in the ReadAdvance
table for Read_C, one for Write_A with a cycle count of 1+2, and one for
Write_B with a cycle count of 1+0 (omitted values are assumed 0).
The field `tunables` provides a list of deltas relative to the base
`cycle` count of the ReadAdvance. Since the field is optional and
defaults to a list of 0's, this change doesn't affect current targets.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list