[mlir] Better handling for bit groups in enum parser/printer
We currently wrap all multi-bit cases with a string, but this is overly restrictive. This commit refactors to use keywords when we know they are valid, and only degrade to string when the validity of the bitgroup is unknown. Differential Revision: https://reviews.llvm.org/D136540
Loading
Please sign in to comment