[PATCH] Documentation for loop unrolling pragmas.
Eli Bendersky
eliben at google.com
Wed Jun 18 14:32:21 PDT 2014
================
Comment at: docs/LanguageExtensions.rst:1791
@@ +1790,3 @@
+Loop unrolling replicates the body of a loop increasing the loop size
+and reducing the loop count. Loop control overhead can be reduced or
+eliminated, and additional ILP can be exposed. The unroller selects
----------------
Maybe s/loop count/loop trip count/ for clarify? There's another instance later on
================
Comment at: docs/LanguageExtensions.rst:1793
@@ +1792,3 @@
+eliminated, and additional ILP can be exposed. The unroller selects
+an unroll count based on a limit on the growth of code size and
+whether the loop can be unrolled completely.
----------------
I find this sentence a bit confusing in the context of unroll pragmas which tell the unroller exactly how much we want to unroll. OTOH this sentence seems to be describing the unrolling heuristic?
http://reviews.llvm.org/D4198
More information about the cfe-commits
mailing list