[PATCH] [NVPTX] kernel pointer arguments point to the global address space

Jingyue Wu jingyue at google.com
Wed Jun 3 20:13:25 PDT 2015


use addrspacecast instead of llvm.nvvm.ptr.gen.to.* intrinsics


http://reviews.llvm.org/D10154

Files:
  lib/Target/NVPTX/CMakeLists.txt
  lib/Target/NVPTX/NVPTX.h
  lib/Target/NVPTX/NVPTXLowerKernelArgs.cpp
  lib/Target/NVPTX/NVPTXLowerStructArgs.cpp
  lib/Target/NVPTX/NVPTXTargetMachine.cpp
  test/CodeGen/NVPTX/bug21465.ll
  test/CodeGen/NVPTX/call-with-alloca-buffer.ll
  test/CodeGen/NVPTX/lower-kernel-ptr-arg.ll
  test/CodeGen/NVPTX/pr13291-i1-store.ll
  test/CodeGen/NVPTX/surf-read-cuda.ll
  test/CodeGen/NVPTX/tex-read-cuda.ll

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D10154.27086.patch
Type: text/x-patch
Size: 20286 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150604/526754af/attachment.bin>


More information about the llvm-commits mailing list