[Mlir-commits] [mlir] [mlir][emitc] Add EmitC index types (PR #93155)

Simon Camphausen llvmlistbot at llvm.org
Mon Jun 3 05:29:18 PDT 2024


================
@@ -37,3 +37,28 @@ void mlir::populateEmitCSizeTTypeConversions(TypeConverter &converter) {
   converter.addTargetMaterialization(materializeAsUnrealizedCast);
   converter.addArgumentMaterialization(materializeAsUnrealizedCast);
 }
+
+/// Get an unsigned data type as wide as \p ty.
----------------
simon-camp wrote:

So sould we reformulate the comment to something like `Get an unsigned data type for \p ty. The width of builtin integer types is guaranteed to be preserved.`?

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


More information about the Mlir-commits mailing list