They used to be classes with a virtual run function. This was inconvenient because post analysis steps are stored in BufferizationOptions. Because of this design choice, BufferizationOptions were not copyable.
Closed by commit rGcdb7675c2649: [mlir][bufferize][NFC] Make PostAnalysisSteps a function (authored by springerm). · Explain WhyFeb 9 2022, 2:03 AM
This revision was automatically updated to reflect the committed changes.