This patch extends the documentation for "#pragma clang loop" hints to include the unroll and unroll_count directives.
Details
Diff Detail
Event Timeline
docs/LanguageExtensions.rst | ||
---|---|---|
1796 | Maybe s/loop count/loop trip count/ for clarify? There's another instance later on | |
1798 | 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? |
Thanks for the comments. Tyler, I incorporated your suggested rewrite of the unrolling paragraph. Hopefully it is clearer now.
I also split the vectorization/interleaving pragmas and the unrolling pragmas into separate sections.
Please take another look.
docs/LanguageExtensions.rst | ||
---|---|---|
1796 | Rewrote this bit. | |
1798 | Rewrote this bit. |
LGTM with a micro-nit: be consistent about one or two spaces after '.' -- I think one is fine and more globally consistent
Maybe s/loop count/loop trip count/ for clarify? There's another instance later on