[PATCH] D19403: Add loop pragma for Loop Distribution

Adam Nemet via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 28 09:32:52 PDT 2016


anemet added inline comments.

================
Comment at: docs/LanguageExtensions.rst:2161
@@ +2160,3 @@
+
+  #pragma clang loop distribute(enable)
+  for(...) {
----------------
aaron.ballman wrote:
> 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).
Sure, I just followed the vectorizer example but you're right this needs more context.  Let me update the patch.

Thanks for the review!


http://reviews.llvm.org/D19403





More information about the cfe-commits mailing list