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

Robert Konicar llvmlistbot at llvm.org
Tue Apr 7 12:28:10 PDT 2026


Jezurko 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`



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


More information about the Mlir-commits mailing list