[PATCH] D19403: Add loop pragma for Loop Distribution

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 28 05:58:01 PDT 2016


aaron.ballman added inline comments.

================
Comment at: docs/LanguageExtensions.rst:2161
@@ +2160,3 @@
+
+  #pragma clang loop distribute(enable)
+  for(...) {
----------------
It would be nice to use a more compelling example than an empty for loop. Also, it would be helpful if the user understood why they wouldn't use this pragma for every loop (or why it doesn't happen by default).


http://reviews.llvm.org/D19403





More information about the cfe-commits mailing list