[PATCH] D10857: Update documentation for unroll pragmas on loops with runtime trip counts
hfinkel at anl.gov
hfinkel at anl.gov
Thu Jul 9 20:12:11 PDT 2015
hfinkel added inline comments.
================
Comment at: docs/LanguageExtensions.rst:1995
@@ +1994,3 @@
+loop if the trip count is known at compile time. If the fully unrolled code size
+is greater than the limit specified by the `-pragma-unroll-threshold` command
+line option the loop will be partially unrolled subject to the same limit. If
----------------
I know this is a pre-existing issue, but -pragma-unroll-threshold is an LLVM option, not a Clang option, and I don't think we should mention it directly here. If I did not know how LLVM worked, and what -mllvm did, I'd find this documentation confusing.
Maybe just not mentioning this is best. What do you think?
http://reviews.llvm.org/D10857
More information about the llvm-commits
mailing list