diff options
author | Groverkss <groverkss@gmail.com> | 2022-06-27 19:35:20 +0100 |
---|---|---|
committer | Groverkss <groverkss@gmail.com> | 2022-06-27 19:35:25 +0100 |
commit | aab7e2fa05c0ad9bc8ffb40f058512d41d980135 (patch) | |
tree | b9c6bc2b4ae829367ce454a95716353a1f8117d5 /lldb/source/Commands/CommandObjectQuit.cpp | |
parent | 15d1cb45204fa549ccb52bccb61215675c52ddb6 (diff) | |
download | llvm-aab7e2fa05c0ad9bc8ffb40f058512d41d980135.zip llvm-aab7e2fa05c0ad9bc8ffb40f058512d41d980135.tar.gz llvm-aab7e2fa05c0ad9bc8ffb40f058512d41d980135.tar.bz2 |
[MLIR][Parser] Fix AffineParser colliding bare identifiers with primitive types
The parser currently can't parse bare identifiers like 'i0' in affine
maps and sets, and similarly ids like f16/f32. But these bare ids are
part of the grammar - although they are primitive types.
```
error: expected bare identifier
set = affine_set<(i0, i1) : ()>
^
```
This patch allows the parser for AffineMap/IntegerSet to parse bare
identifiers as defined by the grammer.
Reviewed By: bondhugula, rriddle
Differential Revision: https://reviews.llvm.org/D127076
Diffstat (limited to 'lldb/source/Commands/CommandObjectQuit.cpp')
0 files changed, 0 insertions, 0 deletions