diff options
author | drazi <fengxie83@gmail.com> | 2024-01-05 19:37:24 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-05 12:37:24 +0100 |
commit | 44b3cf46e992b76a9e188367922a1184437dfa4c (patch) | |
tree | bc703ceae733d693749a6697b3cab9fbd6698ee1 /llvm/lib/CodeGen/BasicBlockSections.cpp | |
parent | 567941bcc3b1fc3b1d2a902cf7ae2e173247a45f (diff) | |
download | llvm-44b3cf46e992b76a9e188367922a1184437dfa4c.zip llvm-44b3cf46e992b76a9e188367922a1184437dfa4c.tar.gz llvm-44b3cf46e992b76a9e188367922a1184437dfa4c.tar.bz2 |
add prop-dict support for custom directive for mlir-tblgen (#77061)
According to
https://mlir.llvm.org/docs/DefiningDialects/Operations/#custom-directives,
custom directive supports attr-dict
> attr-dict Directive: NamedAttrList &
But it doesn't support prop-dict which is introduced into MLIR recently.
It's useful to have tblgen support prop-dict like attr-dict. This PR
enable tblgen to support prop-dict
```bash
error: only variables and types may be used as parameters to a custom directive
... custom<Print>(prop-dict)
```
Co-authored-by: Fung Xie <ftse@nvidia.com>
Diffstat (limited to 'llvm/lib/CodeGen/BasicBlockSections.cpp')
0 files changed, 0 insertions, 0 deletions