diff options
Diffstat (limited to 'docs/ReleaseNotes.rst')
-rw-r--r-- | docs/ReleaseNotes.rst | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/ReleaseNotes.rst b/docs/ReleaseNotes.rst index 5ca4bbbc7c..f17a1a4b16 100644 --- a/docs/ReleaseNotes.rst +++ b/docs/ReleaseNotes.rst @@ -111,6 +111,13 @@ interleaving, and unrolling to be enabled or disabled. Vector width as well as interleave and unrolling count can be manually specified. See language extensions for details. +Clang now supports the `#pragma unroll` directive to specify loop unrolling +optimization hints. Placed just prior to the desired loop, `#pragma unroll` +directs the loop unroller to attempt to fully unroll the loop. The pragma may +also be specified with a positive integer parameter indicating the desired +unroll count: `#pragma unroll _value_`. The unroll count parameter can be +optionally enclosed in parentheses. + C Language Changes in Clang --------------------------- |