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

Justin Holewinski jholewinski at nvidia.com
Wed Aug 5 16:22:25 PDT 2015


It’s not really a calling convention, and it’s not clear how to handle functions that are entry points *and* device-callable functions.

If you have a strong use case for this, but otherwise I’d rather just have one way to annotate entry points instead of two.

On Aug 5, 2015, at 7:11 PM, Jingyue Wu <jingyue at google.com<mailto:jingyue at google.com>> wrote:

Hi Justin,

Why are we deprecating ptx_kernel? What's bad about it?

Jingyue

On Wed, Aug 5, 2015 at 3:44 PM, Justin Holewinski <jholewinski at nvidia.com<mailto:jholewinski at nvidia.com>> wrote:
jholewinski added inline comments.

================
Comment at: test/CodeGen/NVPTX/load-with-non-coherent-cache.ll:243
@@ +242,3 @@
+  ret void
+}
+
----------------
broune wrote:
> Thanks, that's good to know. I'll fix that in the whole file my follow-up clean-up cl.
That works, but I would like to deprecate it.  The PTX calling conventions are legacy cruft from the old back-end.


http://reviews.llvm.org/D11774






-----------------------------------------------------------------------------------
This email message is for the sole use of the intended recipient(s) and may contain
confidential information.  Any unauthorized review, use, disclosure or distribution
is prohibited.  If you are not the intended recipient, please contact the sender by
reply email and destroy all copies of the original message.
-----------------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150805/653c9b78/attachment.html>


More information about the llvm-commits mailing list