[Mlir-commits] [mlir] [mlir][emitc] Restrict integer and float types (PR #85788)

Marius Brehler llvmlistbot at llvm.org
Tue Mar 19 09:34:06 PDT 2024


================
@@ -22,6 +22,12 @@ include "mlir/IR/BuiltinTypeInterfaces.td"
 // EmitC type definitions
 //===----------------------------------------------------------------------===//
 
+def Valid_EmitC_Integer_Type : Type<CPred<"emitc::isValidEmitCIntegerType($_self)">,
----------------
marbre wrote:

```suggestion
def EmitCIntegerType : Type<CPred<"emitc::isSupportedIntegerType($_self)">,
```

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


More information about the Mlir-commits mailing list