The functionality already exists in AsmParser to parse optional ArrayAttrs and
StringAttrs, but only if they are added to a NamedAttrList. This moves the
code to parse an optional attribute and add it to an list into a common
template, and exposes the simpler functionality of just parsing the optional
attributes.
Details
Details
- Reviewers
rriddle - Commits
- rG44b22f6f40f1: [MLIR] Expose optional attribute parsing functions
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo