[Mlir-commits] [mlir] [mlir][EmitC] Add support for pointer and opaque types to subscript op (PR #86266)

Marius Brehler llvmlistbot at llvm.org
Fri Mar 22 06:25:53 PDT 2024


================
@@ -30,8 +30,14 @@
 namespace mlir {
 namespace emitc {
 void buildTerminatedBody(OpBuilder &builder, Location loc);
+
 /// Determines whether \p type is a valid integer type in EmitC.
 bool isSupportedIntegerType(mlir::Type type);
+
+/// Determines whether \p type is integer like, i.e. it's a supported integer,
+/// an index or opaque type.
+bool isIntegerLikeType(Type type);
----------------
marbre wrote:

Thanks, that's fine for me.

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


More information about the Mlir-commits mailing list