[PATCH] D49349: [UnJ] Document loop metadata

Michael Kruse via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 18 22:04:39 PDT 2018


Meinersbur accepted this revision.
Meinersbur added a comment.
This revision is now accepted and ready to land.

LGTM



================
Comment at: docs/LangRef.rst:5181
+disable unroll and jam (so ``llvm.loop.unroll`` metadata will be left to the
+unroller, plus ``llvm.loop.unroll.disable`` metadata will disable uroll and jam
+too.)
----------------
[typo] `uroll`


================
Comment at: docs/LangRef.rst:5194
+This metadata suggests an unroll and jam factor to use, similarly to
+``llvm.loop.unroll_and_jam.count``. The first operand is the string
+``llvm.loop.unroll.count`` and the second operand is a positive integer
----------------
Did you mean `llvm.loop.unroll.count`?


================
Comment at: docs/LangRef.rst:5195
+``llvm.loop.unroll_and_jam.count``. The first operand is the string
+``llvm.loop.unroll.count`` and the second operand is a positive integer
+specifying the unroll factor. For example:
----------------
Did you mean the string `llvm.loop.unroll_and_jam.count`?


https://reviews.llvm.org/D49349





More information about the llvm-commits mailing list