[Mlir-commits] [mlir] [MLIR][GPU-LLVM] Convert `gpu.func` to `llvm.func` (PR #101664)

Victor Perez llvmlistbot at llvm.org
Mon Aug 5 06:38:23 PDT 2024


================
@@ -35,16 +35,42 @@ struct GPUDynamicSharedMemoryOpLowering
   unsigned alignmentBit;
 };
 
+struct GPUFuncOpLoweringOptions {
+  /// The address space to use for `alloca`s in private memory.
+  unsigned allocaAddrSpace;
+  /// The address space to use declaring workgroup memory.
+  unsigned workgroupAddrSpace;
----------------
victor-eds wrote:

This is just for the `gpu.func` attributions. Regular ones should be mapped using attribute conversion.

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


More information about the Mlir-commits mailing list