[Mlir-commits] [mlir] [mlir][tosa] Use Tosa_I32EnumAttr to represent Tosa enumerations (PR #155695)

Luke Hutton llvmlistbot at llvm.org
Thu Aug 28 05:16:25 PDT 2025


lhutton1 wrote:

I just wanted to add some context here. While updating other dependencies (e.g. TensorFlow) @Tai78641 suggested it would be nice if we avoided the need for using the full enum name in the textual format e.g. go from `#tosa.rounding_mode<SINGLE_ROUND>` to `SINGLE_ROUND`.

Thanks for your patience here @AnnuCode, this was certainly more work than I was expecting for a "first-issue" task!

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


More information about the Mlir-commits mailing list