[PATCH] D10857: Update documentation for unroll pragmas on loops with runtime trip counts

Mark Heffernan meheff at google.com
Thu Jul 9 20:05:20 PDT 2015


meheff updated the summary for this revision.
meheff removed rL LLVM as the repository for this revision.
meheff updated this revision to Diff 29423.

http://reviews.llvm.org/D10857

Files:
  docs/LanguageExtensions.rst

Index: docs/LanguageExtensions.rst
===================================================================
--- docs/LanguageExtensions.rst
+++ docs/LanguageExtensions.rst
@@ -1991,10 +1991,10 @@
 reduces the trip count.
 
 If ``unroll(full)`` is specified the unroller will attempt to fully unroll the
-loop if the trip count is known at compile time. If the loop count is not known
-or the fully unrolled code size is greater than the limit specified by the
-`-pragma-unroll-threshold` command line option the loop will be partially
-unrolled subject to the same limit.
+loop if the trip count is known at compile time. If the fully unrolled code size
+is greater than the limit specified by the `-pragma-unroll-threshold` command
+line option the loop will be partially unrolled subject to the same limit. If
+the loop count is not known at compile time the loop will not be unrolled.
 
 .. code-block:: c++
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D10857.29423.patch
Type: text/x-patch
Size: 908 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150710/2248e358/attachment.bin>


More information about the llvm-commits mailing list