Skip to content

Commit 99d9502

Browse files
committed
[mlir][Affine][Vector] NFC: fix examples in comments
s/-affine-vectorize/-affine-super-vectorize/g Reviewed By: aartbik Differential Revision: https://reviews.llvm.org/D118892
1 parent b896334 commit 99d9502

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

mlir/lib/Dialect/Affine/Transforms/SuperVectorize.cpp

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -380,9 +380,9 @@ using namespace vector;
380380
/// }
381381
/// ```
382382
///
383-
/// The -affine-vectorize pass with the following arguments:
383+
/// The -affine-super-vectorize pass with the following arguments:
384384
/// ```
385-
/// -affine-vectorize="virtual-vector-size=256 test-fastest-varying=0"
385+
/// -affine-super-vectorize="virtual-vector-size=256 test-fastest-varying=0"
386386
/// ```
387387
///
388388
/// produces this standard innermost-loop vectorized code:
@@ -434,9 +434,10 @@ using namespace vector;
434434
/// }
435435
/// ```
436436
///
437-
/// The -affine-vectorize pass with the following arguments:
437+
/// The -affine-super-vectorize pass with the following arguments:
438438
/// ```
439-
/// -affine-vectorize="virtual-vector-size=32,256 test-fastest-varying=1,0"
439+
/// -affine-super-vectorize="virtual-vector-size=32,256 \
440+
/// test-fastest-varying=1,0"
440441
/// ```
441442
///
442443
/// produces this more interesting mixed outer-innermost-loop vectorized code:
@@ -523,10 +524,10 @@ using namespace vector;
523524
/// }
524525
/// ```
525526
///
526-
/// The -affine-vectorize pass with the following arguments:
527+
/// The -affine-super-vectorize pass with the following arguments:
527528
/// ```
528-
/// -affine-vectorize="virtual-vector-size=128 test-fastest-varying=0 \
529-
/// vectorize-reductions=true"
529+
/// -affine-super-vectorize="virtual-vector-size=128 test-fastest-varying=0 \
530+
/// vectorize-reductions=true"
530531
/// ```
531532
/// produces the following output:
532533
/// ```mlir

0 commit comments

Comments
 (0)