diff options
author | jfurtek <jfurtek@nvidia.com> | 2022-04-25 18:48:16 +0000 |
---|---|---|
committer | Mogball <jeffniu22@gmail.com> | 2022-04-25 18:48:35 +0000 |
commit | 4e5dee2f30dd5b3548a268271e844b54a35947c2 (patch) | |
tree | f11909438c22e8cbe6a43e79dca01a75163609eb /lldb/source/Commands/CommandObjectThread.cpp | |
parent | 87468e85fcdcf1bd5055466e34d17436a79017a2 (diff) | |
download | llvm-4e5dee2f30dd5b3548a268271e844b54a35947c2.zip llvm-4e5dee2f30dd5b3548a268271e844b54a35947c2.tar.gz llvm-4e5dee2f30dd5b3548a268271e844b54a35947c2.tar.bz2 |
[mlir][ods] Add tablegen field for concise printing of BitEnum attributes
This diff introduces a tablegen field for bit enum attributes
(`printBitEnumPrimaryGroups`) to control printing when the enum uses "group"
cases. An example would be an implementation that uses a `fastmath` enum value
as an alias for individual fastmath flags. The proposed field would allow
printing of simply `fast` for the enum value, instead of the more verbose list
that would include `fast` as well as the individual flags (e.g. `reassoc,nnan,
ninf,nsz,arcp,contract,afn,fast`).
Reviewed By: rriddle
Differential Revision: https://reviews.llvm.org/D123871
Diffstat (limited to 'lldb/source/Commands/CommandObjectThread.cpp')
0 files changed, 0 insertions, 0 deletions