[Mlir-commits] [mlir] [MLIR][NFC] Retire let constructor for Bufferization (PR #129850)

Adrian Kuegel llvmlistbot at llvm.org
Mon Mar 10 04:58:39 PDT 2025


================
@@ -63,11 +63,9 @@ parseHeuristicOption(const std::string &s) {
 }
 
 struct OneShotBufferizePass
-    : public bufferization::impl::OneShotBufferizeBase<OneShotBufferizePass> {
-  OneShotBufferizePass() = default;
-
-  explicit OneShotBufferizePass(const OneShotBufferizationOptions &options)
----------------
akuegel wrote:

And I see those options would be carried over to the OnShotBufferizationOptions in line 77. So answering my question, it looks like we can just use OnShotBufferizePassOptions and pass them to createOneShotBufferizePass.

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


More information about the Mlir-commits mailing list