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 -----------------
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 -----------------
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits