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

Marius Brehler llvmlistbot at llvm.org
Sun Aug 25 23:58:23 PDT 2024


================
@@ -46,14 +46,6 @@ memref.global "nested" constant @nested_global : memref<3x7xf32>
 
 // -----
 
-func.func @unsupported_type_f16() {
-  // expected-error at +1 {{failed to legalize operation 'memref.alloca'}}
-  %0 = memref.alloca() : memref<4xf16>
----------------
marbre wrote:

It could be nice to keep this test as well and replace it with an unsupported floating point type as suggested by @simon-camp for the arith to emitc tests.

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


More information about the Mlir-commits mailing list