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

Jianjian Guan llvmlistbot at llvm.org
Sun Aug 25 23:40:29 PDT 2024


================
@@ -116,6 +116,7 @@ bool mlir::emitc::isIntegerIndexOrOpaqueType(Type type) {
 bool mlir::emitc::isSupportedFloatType(Type type) {
   if (auto floatType = llvm::dyn_cast<FloatType>(type)) {
     switch (floatType.getWidth()) {
+    case 16:
----------------
jacquesguan wrote:

Done

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


More information about the Mlir-commits mailing list