llvm-project
6e441552 - [mlir][bufferization][NFC] Remove dead options branch in OneShotBufferizePass (#247013)

Commit
5 days ago
[mlir][bufferization][NFC] Remove dead options branch in OneShotBufferizePass (#247013) PR #129850 removed the `OneShotBufferizePass` constructor that took a `OneShotBufferizationOptions`, but kept the private member `options`. It is always equal to `std::nullopt` and therefore the branch inside `runOnOperation` becomes redundant as it always takes `if (!options)` and never reaches `else` block. Remove the unused member `options` and the `if` statement at the start of the `runOnOperation`.
Author
Parents
Loading