[PATCH] D11774: [NVPTX] Use LDG for pointer induction variables

Bjarke Hammersholt Roune broune at google.com
Wed Aug 5 16:04:00 PDT 2015


broune added inline comments.

================
Comment at: test/CodeGen/NVPTX/load-with-non-coherent-cache.ll:243
@@ -193,1 +242,3 @@
+
+!nvvm.annotations = !{!1 ,!2 ,!3 ,!4 ,!5 ,!6, !7 ,!8 ,!9 ,!10 ,!11 ,!12, !13, !14, !15, !16, !17, !18, !19}
 !1 = !{void (float *, float *)* @foo1, !"kernel", i32 1}
----------------
jingyue wrote:
> FYI, adding the keyword ptx_kernel to the function definition also makes `isKernelFunction` to return true. In that way, you don't need a long list of metadata. I noticed that only recently. 
OK, then I'll leave it out of my follow-up clean-up patch :)


http://reviews.llvm.org/D11774





More information about the llvm-commits mailing list