aboutsummaryrefslogtreecommitdiff
path: root/llvm/docs/tutorial/MyFirstLanguageFrontend
diff options
context:
space:
mode:
authorRicardo Jesus <rjj@nvidia.com>2025-02-17 11:32:47 +0000
committerGitHub <noreply@github.com>2025-02-17 11:32:47 +0000
commit80b08d1bb803a2ee0af7ae5661dc8f2444d97a41 (patch)
treedb76f9da37482f00c5206142f7d260e73fe22716 /llvm/docs/tutorial/MyFirstLanguageFrontend
parenta177be5528337575ee1b7079958d4250b2eb749f (diff)
downloadllvm-80b08d1bb803a2ee0af7ae5661dc8f2444d97a41.zip
llvm-80b08d1bb803a2ee0af7ae5661dc8f2444d97a41.tar.gz
llvm-80b08d1bb803a2ee0af7ae5661dc8f2444d97a41.tar.bz2
[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.
Diffstat (limited to 'llvm/docs/tutorial/MyFirstLanguageFrontend')
0 files changed, 0 insertions, 0 deletions