[Mlir-commits] [mlir] [mlir] Support emit fp16 and bf16 type to cpp (PR #105803)

Simon Camphausen llvmlistbot at llvm.org
Fri Aug 23 02:45:59 PDT 2024


simon-camp wrote:

Can you please update the [attribute emission](https://github.com/llvm/llvm-project/blob/19f7d82a59be6511e3a00a2d355d5348faea6e7d/mlir/lib/Target/Cpp/TranslateToCpp.cpp#L1254) to print the correct literal suffix: [godbolt](https://godbolt.org/z/oTnf3jnTq), [clang documentation](https://clang.llvm.org/docs/LanguageExtensions.html#half-precision-floating-point)

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


More information about the Mlir-commits mailing list