[Mlir-commits] [mlir] [MLIR] Add I{8, 16}Enum tablegen classes (PR #190825)

Henrich Lauko llvmlistbot at llvm.org
Tue Apr 7 12:35:14 PDT 2026


xlauko wrote:

> > * `symbolizeMyEnum` with proper static_cast check
> > * `stringifyMyEnum` ?
> 
> There is no static_cast there (it uses `swtich` and `llvm::StringSwitch`) but I have added a check that the argument of the `symbolize` function has the correct bit width.
> 
> I have added the check for `maxEnumValForMyEnum`

I meant check for proper `static_cast` in `stringifyMyBitEnum` not `symbolizeMyEnum` sorry.

https://github.com/llvm/llvm-project/pull/190825


More information about the Mlir-commits mailing list