[PATCH] D118892: [mlir][Affine][Vector] NFC: fix examples in comments

Cullen Rhodes via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 3 04:53:08 PST 2022


c-rhodes created this revision.
c-rhodes added reviewers: jsetoain, nicolasvasilache.
Herald added subscribers: sdasgup3, Groverkss, wenzhicui, wrengr, Chia-hungDuan, dcaballe, cota, teijeong, rdzhabarov, tatianashp, msifontes, jurahul, Kayjukh, grosul1, Joonsoo, liufengdb, aartbik, mgester, arpith-jacob, antiagainst, shauheen, rriddle, mehdi_amini.
Herald added a reviewer: aartbik.
Herald added a reviewer: bondhugula.
c-rhodes requested review of this revision.
Herald added a subscriber: stephenneuendorffer.
Herald added a project: MLIR.

s/-affine-vectorize/-affine-super-vectorize/g


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D118892

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


Index: mlir/lib/Dialect/Affine/Transforms/SuperVectorize.cpp
===================================================================
--- mlir/lib/Dialect/Affine/Transforms/SuperVectorize.cpp
+++ mlir/lib/Dialect/Affine/Transforms/SuperVectorize.cpp
@@ -380,9 +380,9 @@
 /// }
 /// ```
 ///
-/// The -affine-vectorize pass with the following arguments:
+/// The -affine-super-vectorize pass with the following arguments:
 /// ```
-/// -affine-vectorize="virtual-vector-size=256 test-fastest-varying=0"
+/// -affine-super-vectorize="virtual-vector-size=256 test-fastest-varying=0"
 /// ```
 ///
 /// produces this standard innermost-loop vectorized code:
@@ -434,9 +434,10 @@
 /// }
 /// ```
 ///
-/// The -affine-vectorize pass with the following arguments:
+/// The -affine-super-vectorize pass with the following arguments:
 /// ```
-/// -affine-vectorize="virtual-vector-size=32,256 test-fastest-varying=1,0"
+/// -affine-super-vectorize="virtual-vector-size=32,256 \
+///                          test-fastest-varying=1,0"
 /// ```
 ///
 /// produces this more interesting mixed outer-innermost-loop vectorized code:
@@ -523,10 +524,10 @@
 /// }
 /// ```
 ///
-/// The -affine-vectorize pass with the following arguments:
+/// The -affine-super-vectorize pass with the following arguments:
 /// ```
-/// -affine-vectorize="virtual-vector-size=128 test-fastest-varying=0 \
-///                    vectorize-reductions=true"
+/// -affine-super-vectorize="virtual-vector-size=128 test-fastest-varying=0 \
+///                          vectorize-reductions=true"
 /// ```
 /// produces the following output:
 /// ```mlir


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D118892.405583.patch
Type: text/x-patch
Size: 1616 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220203/6276e962/attachment.bin>


More information about the llvm-commits mailing list