summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MIRPrintingPass.cpp
diff options
context:
space:
mode:
authorJingyue Wu <jingyue@google.com>2015-07-31 21:44:14 +0000
committerJingyue Wu <jingyue@google.com>2015-07-31 21:44:14 +0000
commitcf70053b2066d0bb647aec91f6fe5934f5b48d5e (patch)
treee4d4ccfa6e6d3bc29082c9a88c6cff6fe16240cf /llvm/lib/CodeGen/MIRPrintingPass.cpp
parentc5b53c7819b410a34a9e1559beed4f3d6e54cff4 (diff)
downloadbcm5719-llvm-cf70053b2066d0bb647aec91f6fe5934f5b48d5e.tar.gz
bcm5719-llvm-cf70053b2066d0bb647aec91f6fe5934f5b48d5e.zip
[NVPTX] convert pointers in byval kernel arguments to global
Summary: For example, in struct S { int *x; int *y; }; __global__ void foo(S s) { int *b = s.y; // use b } "b" is guaranteed to point to global. NVPTX should emit ld.global/st.global for accessing "b". Reviewers: jholewinski Subscribers: llvm-commits, jholewinski Differential Revision: http://reviews.llvm.org/D11505 llvm-svn: 243790
Diffstat (limited to 'llvm/lib/CodeGen/MIRPrintingPass.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud