Skip to content

Commit 5c457e1

Browse files
fix minor includes and typos
1 parent d026e75 commit 5c457e1

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

mlir/include/mlir/Dialect/Bufferization/IR/Bufferization.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,10 @@
1212
#include "mlir/Bytecode/BytecodeOpInterface.h"
1313
#include "mlir/Dialect/Bufferization/IR/AllocationOpInterface.h"
1414
#include "mlir/Dialect/Bufferization/IR/BufferizableOpInterface.h"
15-
#include "mlir/IR/BuiltinTypeInterfaces.h"
1615
#include "mlir/Interfaces/CopyOpInterface.h"
1716
#include "mlir/Interfaces/DestinationStyleOpInterface.h"
1817
#include "mlir/Interfaces/InferTypeOpInterface.h"
1918
#include "mlir/Interfaces/SubsetOpInterface.h"
20-
#include "llvm/Support/Debug.h"
2119

2220
//===----------------------------------------------------------------------===//
2321
// Bufferization Dialect

mlir/include/mlir/Dialect/Bufferization/Transforms/Passes.td

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -250,8 +250,8 @@ def OptimizeAllocationLiveness
250250
let summary = "This pass optimizes the liveness of temp allocations in the "
251251
"input function";
252252
let description =
253-
[{This pass will find all operations that have a memory allocation effect.
254-
It will search for the corresponding deallocation and move it right after
253+
[{This pass will find all operations that have a memory allocation effect.
254+
It will search for the corresponding deallocation and move it right after
255255
the last user of the allocation.
256256
This will optimize the liveness of the allocations.
257257

@@ -513,7 +513,7 @@ def OneShotBufferize : Pass<"one-shot-bufferize", "ModuleOp"> {
513513
Option<"useEncodingForMemorySpace", "use-encoding-for-memory-space", "bool",
514514
/*default=*/"false",
515515
"Use the Tensor encoding attribute for the memory space. Exclusive to"
516-
" the 'must-infer-memory-space option'">,
516+
" the 'must-infer-memory-space' option">,
517517
Option<"testAnalysisOnly", "test-analysis-only", "bool",
518518
/*default=*/"false",
519519
"Test only: Only run inplaceability analysis and annotate IR">,

0 commit comments

Comments
 (0)