[Mlir-commits] [mlir] [AMDGPU] Add parameterization for optimized shared memory variables (PR #82508)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Tue Feb 27 18:10:27 PST 2024
================
@@ -237,8 +240,10 @@ struct OptimizeSharedMemoryPass
: public amdgpu::impl::OptimizeSharedMemoryBase<OptimizeSharedMemoryPass> {
public:
OptimizeSharedMemoryPass() = default;
-
+ OptimizeSharedMemoryPass(const OptimizeSharedMemoryOptions &options)
+ : OptimizeSharedMemoryBase(options) {}
----------------
erman-gurses wrote:
Actually, I tried that, but I am getting the error below when I am using it. Please see below:
```
llvm-project/mlir/lib/Dialect/AMDGPU/Transforms/OptimizeSharedMemory.cpp:242:9: error: using declaration requires a qualified name
using OptimizeSharedMemoryBase;
```
If you do not mind, can I keep it as it was?
https://github.com/llvm/llvm-project/pull/82508
More information about the Mlir-commits
mailing list