llvm-project/llvm/docs/TableGen
Roman Lebedev 5d9f656bb7 [TableGen] Introduce !listsplat 'binary' operator
Summary:
```
``!listsplat(a, size)``
    A list value that contains the value ``a`` ``size`` times.
    Example: ``!listsplat(0, 2)`` results in ``[0, 0]``.
```

I plan to use this in X86ScheduleBdVer2.td for LoadRes handling.

This is a little bit controversial because unlike every other binary operator
the types aren't identical.

Reviewers: stoklund, javed.absar, nhaehnle, craig.topper

Reviewed By: javed.absar

Subscribers: llvm-commits

Tags: #llvm

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

llvm-svn: 358117
2019-04-10 18:26:36 +00:00
..
BackEnds.rst [TableGen] Add a general-purpose JSON backend. 2018-07-11 08:40:19 +00:00
Deficiencies.rst
LangIntro.rst [TableGen] Introduce !listsplat 'binary' operator 2019-04-10 18:26:36 +00:00
LangRef.rst [TableGen] Introduce !listsplat 'binary' operator 2019-04-10 18:26:36 +00:00
index.rst [TableGen] Add a general-purpose JSON backend. 2018-07-11 08:40:19 +00:00