1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 11:42:57 +01:00
llvm-mirror/lib/TableGen
Roman Lebedev daceaa0714 [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
..
CMakeLists.txt
Error.cpp
JSONBackend.cpp
LLVMBuild.txt
Main.cpp
Record.cpp [TableGen] Introduce !listsplat 'binary' operator 2019-04-10 18:26:36 +00:00
SetTheory.cpp
StringMatcher.cpp
TableGenBackend.cpp
TGLexer.cpp [TableGen] Introduce !listsplat 'binary' operator 2019-04-10 18:26:36 +00:00
TGLexer.h [TableGen] Introduce !listsplat 'binary' operator 2019-04-10 18:26:36 +00:00
TGParser.cpp [TableGen] Introduce !listsplat 'binary' operator 2019-04-10 18:26:36 +00:00
TGParser.h