[PATCH] D105035: [clang] Document llvm options controlling pragma unroll
Yaxun Liu via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Jul 12 13:44:11 PDT 2021
This revision was automatically updated to reflect the committed changes.
Closed by commit rG8fe058dbe49b: [clang] Document llvm options controlling pragma unroll (authored by yaxunl).
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D105035/new/
https://reviews.llvm.org/D105035
Files:
clang/docs/LanguageExtensions.rst
Index: clang/docs/LanguageExtensions.rst
===================================================================
--- clang/docs/LanguageExtensions.rst
+++ clang/docs/LanguageExtensions.rst
@@ -3410,6 +3410,9 @@
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
-----------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D105035.358055.patch
Type: text/x-patch
Size: 446 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210712/94a1678a/attachment.bin>
More information about the cfe-commits
mailing list