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
|
/// function call analysis to determine which function arguments are
|
||||||
/// inplaceable. Then analyzes and bufferizes FuncOps one-by-one with One-Shot
|
/// inplaceable. Then analyzes and bufferizes FuncOps one-by-one with One-Shot
|
||||||
/// Bufferize.
|
/// Bufferize.
|
||||||
LogicalResult
|
LogicalResult runOneShotModuleBufferize(
|
||||||
runOneShotModuleBufferize(ModuleOp moduleOp,
|
ModuleOp moduleOp,
|
||||||
bufferization::OneShotBufferizationOptions options);
|
const bufferization::OneShotBufferizationOptions &options);
|
||||||
|
|
||||||
} // namespace bufferization
|
} // namespace bufferization
|
||||||
} // namespace mlir
|
} // namespace mlir
|
||||||
|
|
|
@ -486,7 +486,7 @@ LogicalResult mlir::bufferization::bufferizeModuleOp(
|
||||||
}
|
}
|
||||||
|
|
||||||
LogicalResult mlir::bufferization::runOneShotModuleBufferize(
|
LogicalResult mlir::bufferization::runOneShotModuleBufferize(
|
||||||
ModuleOp moduleOp, OneShotBufferizationOptions options) {
|
ModuleOp moduleOp, const OneShotBufferizationOptions &options) {
|
||||||
assert(options.bufferizeFunctionBoundaries &&
|
assert(options.bufferizeFunctionBoundaries &&
|
||||||
"expected that function boundary bufferization is activated");
|
"expected that function boundary bufferization is activated");
|
||||||
OneShotAnalysisState analysisState(moduleOp, options);
|
OneShotAnalysisState analysisState(moduleOp, options);
|
||||||
|
|
Loading…
Reference in New Issue