Skip to content

Commit 5153af3

Browse files
committed
Cleanup
1 parent 8a5aca2 commit 5153af3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mlir/lib/Dialect/Bufferization/Transforms/OneShotModuleBufferize.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -456,12 +456,12 @@ LogicalResult mlir::bufferization::bufferizeModuleOp(
456456

457457
if (failed(getFuncOpsOrderedByCalls(moduleOp, orderedFuncOps, callerMap)))
458458
return failure();
459-
SmallVector<FunctionOpInterface> ops;
460459

461460
// Bufferize functions.
462461
for (FunctionOpInterface funcOp : orderedFuncOps) {
463462
// Note: It would be good to apply cleanups here but we cannot as aliasInfo
464463
// would be invalidated.
464+
465465
if (llvm::is_contained(options.noAnalysisFuncFilter, funcOp.getName())) {
466466
// This function was not analyzed and RaW conflicts were not resolved.
467467
// Buffer copies must be inserted before every write.

0 commit comments

Comments
 (0)