We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d595d5a commit 035bc52Copy full SHA for 035bc52
mlir/lib/Dialect/Linalg/Transforms/SwapExtractSliceWithFillPatterns.cpp
@@ -12,8 +12,12 @@
12
using namespace mlir;
13
using namespace mlir::linalg;
14
15
-/// Swaps tensor.extract_slice(linalg.fill(%cst, %init)) into linalg.fill(%cst,
16
-/// tensor.extract_slice(%init)) when the linalg.fill op have no other users.
+/// swaps:
+/// `tensor.extract_slice(linalg.fill(%cst, %init))`
17
+/// with:
18
+/// `linalg.fill(%cst, tensor.extract_slice(%init))`
19
+///
20
+/// when the linalg.fill op have no other users.
21
/// This helps to reduce the fill footprint.
22
struct SwapExtractSliceOfFill final
23
: public OpRewritePattern<tensor::ExtractSliceOp> {
0 commit comments