[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


================
@@ -30,6 +30,10 @@
 namespace mlir {
 namespace emitc {
 void buildTerminatedBody(OpBuilder &builder, Location loc);
+/// Determines whether \p type is a valid integer type in EmitC.
+bool isValidEmitCIntegerType(mlir::Type type);
----------------
marbre wrote:

```suggestion
bool isSupportedIntegerType(mlir::Type type);
```

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


More information about the Mlir-commits mailing list