[Mlir-commits] [mlir] [MLIR][AsyncToLLVM] Remove typed pointer support (PR #70731)

Markus Böck llvmlistbot at llvm.org
Mon Oct 30 14:57:23 PDT 2023


================
@@ -110,30 +105,27 @@ struct AsyncAPI {
     return FunctionType::get(ctx, {i64}, {GroupType::get(ctx)});
   }
 
-  static FunctionType getValueStorageFunctionType(MLIRContext *ctx,
-                                                  bool useLLVMOpaquePointers) {
-    auto value = opaquePointerType(ctx, useLLVMOpaquePointers);
-    auto storage = opaquePointerType(ctx, useLLVMOpaquePointers);
+  static FunctionType getValueStorageFunctionType(MLIRContext *ctx) {
+    auto value = opaquePointerType(ctx);
+    auto storage = opaquePointerType(ctx);
----------------
zero9178 wrote:

nit: Can we reuse the previous instances of `opaquePointerType(ctx)` here? Ditto below

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


More information about the Mlir-commits mailing list