[Mlir-commits] [mlir] [mlir][EmitC] Do not convert illegal types in EmitC (PR #104571)

Longsheng Mou llvmlistbot at llvm.org
Tue Aug 20 01:01:08 PDT 2024


================
@@ -177,7 +177,8 @@ void mlir::populateMemRefToEmitCTypeConversion(TypeConverter &typeConverter) {
         }
         Type convertedElementType =
             typeConverter.convertType(memRefType.getElementType());
-        if (!convertedElementType)
+        if (!convertedElementType ||
----------------
CoTinker wrote:

Good idea. I'll change it right away.

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


More information about the Mlir-commits mailing list