summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorJustin Lebar <jlebar@google.com>2016-06-30 18:41:33 +0000
committerJustin Lebar <jlebar@google.com>2016-06-30 18:41:33 +0000
commit27ee130e3818f39a8ecffd5d1212c52e1411feda (patch)
tree21908c1058960e498b3c45174a772ff968b390f0 /clang/lib/Frontend/CompilerInvocation.cpp
parentcc4bb63351e527682d13a0b06a3ff3e32eaa1c37 (diff)
downloadbcm5719-llvm-27ee130e3818f39a8ecffd5d1212c52e1411feda.tar.gz
bcm5719-llvm-27ee130e3818f39a8ecffd5d1212c52e1411feda.zip
[CUDA] Give templated device functions internal linkage, templated kernels external linkage.
Summary: This lets LLVM perform IPO over these functions. In particular, it allows LLVM to emit ld.global.nc for loads to __restrict pointers in kernels that are never written to. Reviewers: rsmith Subscribers: cfe-commits, tra Differential Revision: http://reviews.llvm.org/D21337 llvm-svn: 274261
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud