From 81e2f71673e68dc01dc41e56c2e9d7a33b1e7a0e Mon Sep 17 00:00:00 2001 From: Mark Heffernan Date: Wed, 23 Jul 2014 17:31:31 +0000 Subject: In unroll pragma syntax and loop hint metadata, change "enable" forms to a new form using the string "full". git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@213771 91177308-0d34-0410-b5e6-96231b3b80d8 --- docs/LanguageExtensions.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs/LanguageExtensions.rst') diff --git a/docs/LanguageExtensions.rst b/docs/LanguageExtensions.rst index 50e1ccebe8..26c1418cb6 100644 --- a/docs/LanguageExtensions.rst +++ b/docs/LanguageExtensions.rst @@ -1843,7 +1843,7 @@ iterations. Full unrolling is only possible if the loop trip count is known at compile time. Partial unrolling replicates the loop body within the loop and reduces the trip count. -If ``unroll(enable)`` is specified the unroller will attempt to fully unroll the +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 @@ -1851,7 +1851,7 @@ unrolled subject to the same limit. .. code-block:: c++ - #pragma clang loop unroll(enable) + #pragma clang loop unroll(full) for(...) { ... } -- cgit v1.2.3