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

Corentin Ferry llvmlistbot at llvm.org
Mon Jun 3 05:17:14 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.
----------------
cferry-AMD wrote:

There is no spec on how wide these types have to be with respect to each other, see [here for C99](https://www.open-std.org/JTC1/SC22/WG14/www/docs/n1256.pdf) p. 266. 

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


More information about the Mlir-commits mailing list