diff options
author | NAKAMURA Takumi <geek4civic@gmail.com> | 2023-03-04 19:53:52 +0900 |
---|---|---|
committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2023-04-26 23:47:16 +0900 |
commit | f98192af55a6f4755819d5b4c30d93dd8ff87def (patch) | |
tree | 2fbc624bfe5c7290bc88f016c9e18e0a7365e0ff /llvm/utils/TableGen/CodeGenDAGPatterns.cpp | |
parent | 5540e29a0a4b1c1ccef6624aec2eb13246c3e48d (diff) | |
download | llvm-f98192af55a6f4755819d5b4c30d93dd8ff87def.zip llvm-f98192af55a6f4755819d5b4c30d93dd8ff87def.tar.gz llvm-f98192af55a6f4755819d5b4c30d93dd8ff87def.tar.bz2 |
TableGen: Let expressions available to list subscriptions and list slices
This enables indexing in `!foreach` and permutation with `list[permlist]`.
Enhancements in syntax:
- `list<int>` is applicable as a slice element.
- `list[int,]` is evaluated as not `ElemType` but `list<ElemType>`
with a single element.
Part of D145872
FIXME: I didn't apply new semantics to BitSlice.
Diffstat (limited to 'llvm/utils/TableGen/CodeGenDAGPatterns.cpp')
0 files changed, 0 insertions, 0 deletions