summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenModule.h
diff options
context:
space:
mode:
authorEli Bendersky <eliben@google.com>2014-04-15 16:57:05 +0000
committerEli Bendersky <eliben@google.com>2014-04-15 16:57:05 +0000
commit57e9d5ea97f046f67c097cf4d19883d9078c4805 (patch)
tree5472d3e210eb00c89e18bc1f915c5cf511e08aef /lib/CodeGen/CodeGenModule.h
parentba3cc0798ab565fce52427781641faeaad872a91 (diff)
downloadclang-57e9d5ea97f046f67c097cf4d19883d9078c4805.tar.gz
clang-57e9d5ea97f046f67c097cf4d19883d9078c4805.tar.bz2
clang-57e9d5ea97f046f67c097cf4d19883d9078c4805.tar.xz
Add support for CUDA __launch_bounds__ attribute to CodeGen.
Sema does have a CUDALaunchBoundsAttr, but CodeGen was doing nothing with it. This change translates CUDALaunchBoundsAttr to maxntidx and minctasm metadata, which NVPTX then translates to the correct PTX directives. Patch by Manjunath Kudlur. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@206302 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenModule.h')
0 files changed, 0 insertions, 0 deletions