forked from OSchip/llvm-project
Apply clang-tidy fixes for performance-unnecessary-value-param in OneShotModuleBufferize.cpp (NFC)
This commit is contained in:
parent
118d9ebd52
commit
940e290860
|
@ -32,9 +32,9 @@ LogicalResult bufferizeModuleOp(ModuleOp moduleOp,
|
|||
/// function call analysis to determine which function arguments are
|
||||
/// inplaceable. Then analyzes and bufferizes FuncOps one-by-one with One-Shot
|
||||
/// Bufferize.
|
||||
LogicalResult
|
||||
runOneShotModuleBufferize(ModuleOp moduleOp,
|
||||
bufferization::OneShotBufferizationOptions options);
|
||||
LogicalResult runOneShotModuleBufferize(
|
||||
ModuleOp moduleOp,
|
||||
const bufferization::OneShotBufferizationOptions &options);
|
||||
|
||||
} // namespace bufferization
|
||||
} // namespace mlir
|
||||
|
|
|
@ -486,7 +486,7 @@ LogicalResult mlir::bufferization::bufferizeModuleOp(
|
|||
}
|
||||
|
||||
LogicalResult mlir::bufferization::runOneShotModuleBufferize(
|
||||
ModuleOp moduleOp, OneShotBufferizationOptions options) {
|
||||
ModuleOp moduleOp, const OneShotBufferizationOptions &options) {
|
||||
assert(options.bufferizeFunctionBoundaries &&
|
||||
"expected that function boundary bufferization is activated");
|
||||
OneShotAnalysisState analysisState(moduleOp, options);
|
||||
|
|
Loading…
Reference in New Issue