projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4084334
)
[clang] Document llvm options controlling pragma unroll
author
Yaxun (Sam) Liu
<yaxun.liu@amd.com>
Mon, 28 Jun 2021 15:19:43 +0000
(11:19 -0400)
committer
Yaxun (Sam) Liu
<yaxun.liu@amd.com>
Mon, 12 Jul 2021 20:42:50 +0000
(16:42 -0400)
Reviewed by: Artem Belevich
Differential Revision: https://reviews.llvm.org/D105035
clang/docs/LanguageExtensions.rst
patch
|
blob
|
history
diff --git
a/clang/docs/LanguageExtensions.rst
b/clang/docs/LanguageExtensions.rst
index
d638121
..
f14f986
100644
(file)
--- a/
clang/docs/LanguageExtensions.rst
+++ b/
clang/docs/LanguageExtensions.rst
@@
-3410,6
+3410,9
@@
to the same code size limit as with ``unroll(enable)``.
Unrolling of a loop can be prevented by specifying ``unroll(disable)``.
+Loop unroll parameters can be controlled by options
+`-mllvm -unroll-count=n` and `-mllvm -pragma-unroll-threshold=n`.
+
Loop Distribution
-----------------