[Mlir-commits] [mlir] [AMDGPU] Add parameterization for optimized shared memory variables (PR #82508)

Mehdi Amini llvmlistbot at llvm.org
Tue Feb 27 17:16:44 PST 2024


================
@@ -237,8 +240,10 @@ struct OptimizeSharedMemoryPass
     : public amdgpu::impl::OptimizeSharedMemoryBase<OptimizeSharedMemoryPass> {
 public:
   OptimizeSharedMemoryPass() = default;
-
+  OptimizeSharedMemoryPass(const OptimizeSharedMemoryOptions &options)
+      : OptimizeSharedMemoryBase(options) {}
----------------
joker-eph wrote:

Nit: unless I'm missing something you can remove these 2 constructors write just: `using OptimizeSharedMemoryBase;`

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


More information about the Mlir-commits mailing list