diff options
author | Jingyue Wu <jingyue@google.com> | 2015-06-04 20:19:38 +0000 |
---|---|---|
committer | Jingyue Wu <jingyue@google.com> | 2015-06-04 20:19:38 +0000 |
commit | f3a8079b75448d7db19a4333c0bc218564ac6556 (patch) | |
tree | 1f31ff8d3d5ae40f4523a13613b5c1d5e058e5c3 /llvm/lib/Target/AArch64/MCTargetDesc/AArch64MachObjectWriter.cpp | |
parent | 074da9b5e7201ceaed997a1ff2eab4464b62da4c (diff) | |
download | bcm5719-llvm-f3a8079b75448d7db19a4333c0bc218564ac6556.tar.gz bcm5719-llvm-f3a8079b75448d7db19a4333c0bc218564ac6556.zip |
[NVPTX] kernel pointer arguments point to the global address space
Summary:
With this patch, NVPTXLowerKernelArgs converts a kernel pointer argument to a
pointer in the global address space. This change, along with
NVPTXFavorNonGenericAddrSpaces, allows the NVPTX backend to emit ld.global.*
and st.global.* for accessing kernel pointer arguments.
Minor changes:
1. refactor: extract function convertToPointerInAddrSpace
2. fix a bug in the test case in bug21465.ll
Test Plan: lower-kernel-ptr-arg.ll
Reviewers: eliben, meheff, jholewinski
Reviewed By: jholewinski
Subscribers: wengxt, jholewinski, llvm-commits
Differential Revision: http://reviews.llvm.org/D10154
llvm-svn: 239082
Diffstat (limited to 'llvm/lib/Target/AArch64/MCTargetDesc/AArch64MachObjectWriter.cpp')
0 files changed, 0 insertions, 0 deletions