Revert "[CUDA] Add implicit __attribute__((used)) to all __global__ functions."
authorDaniel Jasper <djasper@google.com>
Tue, 11 Aug 2015 11:02:09 +0000 (11:02 +0000)
committerDaniel Jasper <djasper@google.com>
Tue, 11 Aug 2015 11:02:09 +0000 (11:02 +0000)
commit3b0f87d289b3cd432218cc8e5568e9eb1f77119d
tree7ac41a4e628b92c33551e54425444cb99d07f81c
parentf6bc15d763539b401ad740f0120ae96efb6ca4da
Revert "[CUDA] Add implicit __attribute__((used)) to all __global__ functions."

This is breaking internal test. I'll provide a reproduction.

llvm-svn: 244583
clang/lib/Sema/SemaDeclAttr.cpp
clang/test/CodeGenCUDA/ptx-kernels.cu