[Mlir-commits] [mlir] [mlir][amdgpu] Shared memory access optimization pass (PR #75627)

Mehdi Amini llvmlistbot at llvm.org
Tue Dec 19 03:00:48 PST 2023


================
@@ -30,4 +30,12 @@ def AmdgpuEmulateAtomicsPass : Pass<"amdgpu-emulate-atomics"> {
                         "Chipset that these operations will run on">];
 }
 
+def OptimizeSharedMemory : Pass<"amdgpu-optimize-shared-memory"> {
+  let summary = "Optimizes accesses to shared memory memrefs in order to reduce bank conflicts.";
+  let constructor = "mlir::amdgpu::createOptimizeSharedMemoryPass()";
----------------
joker-eph wrote:

Can you remove this line and let it be all auto generated?

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


More information about the Mlir-commits mailing list