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

Mehdi Amini llvmlistbot at llvm.org
Tue Mar 18 03:50:33 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)
----------------
joker-eph wrote:

>  if you want to pass functionBoundaryTypeConversion, with the tablegen options it is just a string. With mlir::bufferization::OneShotBufferizationOptions it is an enum.

I feel like I am missing something: you can have enum options with TableGen as far as I know.

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


More information about the Mlir-commits mailing list