[Mlir-commits] [mlir] [MLIR] Add f8E8M0FNU type (PR #111028)

Jacques Pienaar llvmlistbot at llvm.org
Sun Oct 20 20:11:41 PDT 2024


================

----------------
jpienaar wrote:

Note: this doesn't seem correctly roundtrip through bytecode. If checking IR/attribute.mlir

"test.float\_attrs"() \<{float\_attr = 2.000000e+00 : f8E8M0FNU}> : () -> () loc(#loc12)

becomes

"test.float\_attrs"() \<{float\_attr = 4.000000e+00 : f8E8M0FNU}> : () -> () loc(#loc12)

Can test with `MLIR_OPT_CHECK_IR_ROUNDTRIP=1` in testing environment.

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


More information about the Mlir-commits mailing list